How to plot all but last two columns?

14 Ansichten (letzte 30 Tage)
Lauren
Lauren am 10 Dez. 2025 um 18:00
Bearbeitet: Stephen23 am 10 Dez. 2025 um 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)

Antworten (1)

Stephen23
Stephen23 am 10 Dez. 2025 um 19:05
Bearbeitet: Stephen23 am 10 Dez. 2025 um 19:06

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by