필터 지우기
필터 지우기

plotting a vector versus a time

조회 수: 1 (최근 30일)
IRFANA
IRFANA 2014년 11월 24일
편집: Jan 2014년 11월 24일
hai all, i have a matrix with me. I need to plot one row corresponding to one time. I have tried as below
for i=1:N plot(time(i),matrix(i,:)); end
but i got a blank plot...so guys plz help me to plot this. regards

답변 (2개)

Roger Wohlwend
Roger Wohlwend 2014년 11월 24일
plot(time, matrix)
  댓글 수: 1
IRFANA
IRFANA 2014년 11월 24일
i tried this too..but it is plotting each row vrs time. Actually i need to plot entire row at one unique time

댓글을 달려면 로그인하십시오.


Jan
Jan 2014년 11월 24일
편집: Jan 2014년 11월 24일
Perhaps:
plot(time, matrix.')
Currently we can only guess. Some example data would calrify your question.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by