how I can make loop start with 8 end with 1?

2 vues (au cours des 30 derniers jours)
Ameligege
Ameligege le 12 Fév 2015
Commenté : Star Strider le 12 Fév 2015
how I can make loop start with 8 end with 1? is it available in mat lab when i write
for 8:1
It does not work can any one help ,please?

Réponse acceptée

Star Strider
Star Strider le 12 Fév 2015
Consider:
N = 8 : -1 : 1
  2 commentaires
Ameligege
Ameligege le 12 Fév 2015
thanks for quick helpful answer
Star Strider
Star Strider le 12 Fév 2015
My pleasure!
This was a lot easier than the matrix!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by