フィルターのクリア

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