how to write for(i=count;i>1;i--) in matlab.
Afficher commentaires plus anciens
If I write like for i=5:-1:1 I got the value 54321 But I want to avoid 1 in the output.how to write syntax in matlab for this condition for(i=count;i>1;i--)
1 commentaire
5:-1:2
Did you try this?
Réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!