: operator when used in plot function

2 ビュー (過去 30 日間)
Mike Scott
Mike Scott 2014 年 12 月 22 日
コメント済み: Mike Scott 2014 年 12 月 22 日
I would just like to know what the : operator does when used to plot in the following context:
plot(x,Tanal(:,Nt),
I can see that x is plot against Tanal for some values of Nt but cannot quite work out which is refers to.
Thanks

採用された回答

the cyclist
the cyclist 2014 年 12 月 22 日
編集済み: the cyclist 2014 年 12 月 22 日
All rows of the Nt 'th column of Tanal.
  1 件のコメント
Mike Scott
Mike Scott 2014 年 12 月 22 日
Ah OK, I see now. So by removing the : operating it plots all rows of data within the Tanal matrix. Thanks for your help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by