How to plot all but last two columns?

14 次查看(过去 30 天)
Lauren
Lauren 2025-12-10,18:00
编辑: Stephen23 2025-12-10,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)

回答(1 个)

Stephen23
Stephen23 about 3 hours 前
编辑:Stephen23 about 3 hours 前

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by