フィルターのクリア

Is it possible to run a "for" loop by manually assigning specific values to the variable ?

3 ビュー (過去 30 日間)
I want to run a "for" loop by manually assigning specific values to the variable, as shown below. Is that possible?
for i = 1,3,6,7,11,18.
.............
end

採用された回答

Walter Roberson
Walter Roberson 2016 年 6 月 23 日
for i = [1,3,6,7,11,18]
.............
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by