how to decrements variable in for loop
古いコメントを表示
for i=17:i
how to decrement i value.
i.e i value in next loop i=16 and i=15 in next loop
1 件のコメント
Jan
2012 年 1 月 30 日
Having the same variable on the right and left hand in FOR is confusing.
回答 (1 件)
Titus Edelhofer
2012 年 1 月 30 日
Hi,
doc for
and take a look at the parameter "stepval".
Titus
カテゴリ
ヘルプ センター および 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!