N doesn't increase in 'for loop'
Afficher commentaires plus anciens
z=1:100; for n=1:100 f(z)=n; end
why f(z) all equals to 101 instead of 1, 2, 3...100 after running.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements 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!