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