How to draw a vector 1x91 double

2 次查看(过去 30 天)
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.

采纳的回答

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 个)

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by