What for command or loop is appropriate?
Afficher commentaires plus anciens
Hi,
I'm going to define a loop which adds a certain value to each row of my 512 rows and 1 column data. The certain value is 0.3, so it must become like this:
0.3
0.6
0.9
0.12
0.15 and so on till the 512th row which is 512*0.3
Anyone knows the for command for this loop? Thanks
Réponse acceptée
Plus de réponses (1)
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!