Plotting specified columns using plot function

if I have a matrix that is A(33x120), how would you plot column 3 vs. columns 25,27,30,32,35 in one syntax?
thanks

 採用された回答

Kevin Phung
Kevin Phung 2019 年 1 月 29 日
編集済み: Kevin Phung 2019 年 1 月 29 日

0 投票

plot(A(:,3),A(:,[25 27 30 32 35]))

2 件のコメント

Mohammad Daud
Mohammad Daud 2019 年 1 月 30 日
Thanks :D
Kevin Phung
Kevin Phung 2019 年 1 月 30 日
youre welcome :)

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by