How do I plot a column vector like row number # vs row # value

say the column vector is
N=round(3+rand(1)*6);
H=round(3+rand(1)*6);
D=zeros(N,1);
D(:,1)=H;

2 件のコメント

Jacob Savona
Jacob Savona 2015 年 3 月 3 日
Nevermind figured it out
Image Analyst
Image Analyst 2015 年 8 月 20 日
He most likely used the plot function:
plot(1:length(D), D, 'bd-');

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

2015 年 3 月 3 日

コメント済み:

2015 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by