How do I plot a column vector like row number # vs row # value
Mostra commenti meno recenti
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 Commenti
Jacob Savona
il 3 Mar 2015
Image Analyst
il 20 Ago 2015
He most likely used the plot function:
plot(1:length(D), D, 'bd-');
Risposte (0)
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!