How to plot all but last two columns?

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)

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

태그

질문:

2025년 12월 10일

편집:

2025년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by