How to plot all but last two columns?

15 visualizaciones (últimos 30 días)
Lauren
Lauren el 10 de Dic. de 2025 a las 18:00
Editada: Stephen23 el 10 de Dic. de 2025 a las 19:06
I have a data set where I would like to plot the first column through the 3rd to last column. The number of columns varies per dataset. How do I call this out?
c = b(:,end-2);
plot (a,c)

Respuestas (1)

Stephen23
Stephen23 el 10 de Dic. de 2025 a las 19:05
Editada: Stephen23 el 10 de Dic. de 2025 a las 19:06

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by