plotting a vector versus a time

2 ビュー (過去 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 Center および File ExchangePolar Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by