How to draw a vector 1x91 double

조회 수: 1(최근 30일)
Andrea Cesaro
Andrea Cesaro 2021년 3월 23일
댓글: Andrea Cesaro 2021년 3월 23일
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
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일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by