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