How to store the looping values into matrix?

for every iteration of a for loop ihave to store the values in a matrix.How to do that?

 Accepted Answer

me = rand(1,140); %%matrix 1x140
k = reshape(me,length(me)/length(cd1),length(cd1))'; %%matrix 5x28

More Answers (0)

Categories

Products

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!