Creating a matrix one row at a time
Show older comments
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
Accepted Answer
More Answers (1)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!