Plotting a row in a Matrix

5 visualizaciones (últimos 30 días)
Christopher Jarrett
Christopher Jarrett el 27 de Mzo. de 2021
Respondida: William el 27 de Mzo. de 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

Respuestas (1)

William
William el 27 de Mzo. de 2021
That would be:
plot(sortpopulation(1:10,5));

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by