Create a for loop with two changing variables
古いコメントを表示
I want to create a loop with 2 variables that change value every loop.
Currently I have:
for nF = [31 30 33 32 18 21 19 20 23 25 22 24 26 27 28 29];
but I would also like a variable 'i' to count from 1 to 16 (count each loop).
Thanks.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!