Plotting a row in a Matrix

4 次查看(过去 30 天)
Christopher Jarrett
回答: 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 CenterFile Exchange 中查找有关 2-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