필터 지우기
필터 지우기

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

조회 수: 5 (최근 30일)
Jacob Savona
Jacob Savona 2015년 3월 3일
댓글: Image Analyst 2015년 8월 20일
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개)

카테고리

Help CenterFile 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!

Translated by