How to plot all but last two columns?

15 ビュー (過去 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 約7時間 前
編集済み: Stephen23 約7時間 前

カテゴリ

Help Center および File Exchange2-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