How to display the loop number as a value in an array?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jasmine Karim
le 30 Juil 2018
Commenté : Jasmine Karim
le 30 Juil 2018
I have a loop that is accessing data from one array and creating another array of about 500 rows x 4 columns. I want one of those columns to have the value of the LOOP NUMBER (which is not always the same as the ROW number in the new array). disp gives me the correct value, but how can I hold that value and put it into a column?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!