How to plot all but last two columns?

14 visualizzazioni (ultimi 30 giorni)
Lauren
Lauren il 10 Dic 2025 alle 18:00
Modificato: Stephen23 il 10 Dic 2025 alle 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)

Risposte (1)

Stephen23
Stephen23 circa un'ora fa
Modificato: Stephen23 circa un'ora fa

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by