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
2015-3-3
Image Analyst
2015-8-20
He most likely used the plot function:
plot(1:length(D), D, 'bd-');
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!