how to decrements variable in for loop
Mostra commenti meno recenti
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 Commento
Jan
il 30 Gen 2012
Having the same variable on the right and left hand in FOR is confusing.
Risposte (1)
Titus Edelhofer
il 30 Gen 2012
Hi,
doc for
and take a look at the parameter "stepval".
Titus
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!