필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how can i generate??

조회 수: 1 (최근 30일)
mukim
mukim 2013년 1월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
if i=1:3 is equal, i=[1 2 3]
then how can i generate this...
output sample, i=[1 2 3 7 8 9 13 14 15 16]

답변 (2개)

Matt J
Matt J 2013년 1월 17일
i=[1:3,7:9,13:16]
  댓글 수: 2
Matt J
Matt J 2013년 1월 17일
mukim Commented:
how can i will be able to generate this type of loop??
for i=1:3, 7:9
%%statement
end
Matt J
Matt J 2013년 1월 17일
for i=[1:3, 7:9]
%%statement
end

mukim
mukim 2013년 1월 17일
how can i will be able to generate this type of loop??
for i=1:3, 7:9
%%statement
end

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by