How do I plot a column vector like row number # vs row # value
4 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 20 Aug 2015
He most likely used the plot function:
plot(1:length(D), D, 'bd-');
Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!