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 ExchangeDates 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