Plotting a row in a Matrix

5 ビュー (過去 30 日間)
Christopher Jarrett
Christopher Jarrett 2021 年 3 月 27 日
回答済み: William 2021 年 3 月 27 日
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 日
That would be:
plot(sortpopulation(1:10,5));

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by