Plotting a row in a Matrix

Hi.
I have a 5 column by 100 rows matrix called sortpopulation
I want to plot only the first ten values withen the 5th column on the y axis of some graph.
Thanks in advanced

回答 (1 件)

William
William 2021 年 3 月 27 日

0 投票

That would be:
plot(sortpopulation(1:10,5));

カテゴリ

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

製品

リリース

R2021a

質問済み:

2021 年 3 月 27 日

回答済み:

2021 年 3 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by