How can i draw a vector 1x91 that it depends on a coordinate q. I mean that I must draw this vector in a graph where the vector moves with the 91 values of the q, that is one value of q, one value of the vector 1x1.

댓글 수: 2

Walter Roberson
Walter Roberson 2021년 3월 23일
plot(q, vector) ?
Andrea Cesaro
Andrea Cesaro 2021년 3월 23일
Yes, but in this way I find a curve and not the vector moves

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2021년 3월 23일

0 개 추천

vec = rand(1,91) ; % dummy data
q = 1:length(vec) ;
plot(q,vec)

댓글 수: 1

Andrea Cesaro
Andrea Cesaro 2021년 3월 23일
Ok this is the standar representation of a vector, my problem is most difficult because I must represent this vector in a cartesian graph (x,y) and it has to move in this graph as a function of q

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Dates and Time에 대해 자세히 알아보기

질문:

2021년 3월 23일

댓글:

2021년 3월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by