How to store the looping values into matrix?
5 views (last 30 days)
Show older comments
for every iteration of a for loop ihave to store the values in a matrix.How to do that?
0 Comments
Accepted Answer
Pedro Villena
on 18 Oct 2012
Edited: Pedro Villena
on 18 Oct 2012
me = rand(1,140); %%matrix 1x140
k = reshape(me,length(me)/length(cd1),length(cd1))'; %%matrix 5x28
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!