Creating a matrix one row at a time
Afficher commentaires plus anciens
In each iteration of a loop I create a row vector
Y = [1,2,3,4,5];
then I want to add the Y's to a matrix one line at a time;
A(i) = Y;
How do I do this and why can't I find an example on line?
Thanks
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Performance and Memory dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!