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

Answers (1)

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

Categories

Products

Release

R2021a

Asked:

on 27 Mar 2021

Answered:

on 27 Mar 2021

Community Treasure Hunt

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

Start Hunting!