How do loop this data?

figure plot(X(:,6:10)) figure plot(X(:,11:15)) figure plot(X(:,16:20)) figure plot(X(:,21:25)) figure plot(X(:,26:30))

回答 (1 件)

Joseph Cheng
Joseph Cheng 2015 年 2 月 26 日

0 投票

that would be something along the lines of
for ind = 6:5:26
figure,plot(X(:,ind:ind+4));
end

この質問は閉じられています。

質問済み:

2015 年 2 月 26 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by