How do I plot a column vector like row number # vs row # value
조회 수: 5 (최근 30일)
이전 댓글 표시
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
Image Analyst
2015년 8월 20일
He most likely used the plot function:
plot(1:length(D), D, 'bd-');
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!