Info

This question is closed. Reopen it to edit or answer.

How do loop this data?

4 views (last 30 days)
Matthew Woolaway
Matthew Woolaway on 26 Feb 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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))

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!