Plotting a row in a Matrix

3 vues (au cours des 30 derniers jours)
Christopher Jarrett
Christopher Jarrett le 27 Mar 2021
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

Réponses (1)

William
William le 27 Mar 2021
That would be:
plot(sortpopulation(1:10,5));

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by