plotting a vector versus a time

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 日

0 投票

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 日

0 投票

Perhaps:
plot(time, matrix.')
Currently we can only guess. Some example data would calrify your question.

カテゴリ

ヘルプ センター および File ExchangePolar Plots についてさらに検索

タグ

質問済み:

2014 年 11 月 24 日

編集済み:

Jan
2014 年 11 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by