Save values of a matrix after each iteration in a new matrix
Show older comments
Hello everyone,
I am a newbie to MATLAB. I am writing a code where I need to save values of a matrix in a new matrix each time loop ends. Say for example I have a FOR loop and let's assume loop runs from 1 to 3 and after each iteration,FOR loop gives us a new matrix. Is it possible to store those arrays or matrix we get after each iteration and place them in a new matrix? I am really stuck..need your help guys..
Thanks !!
Accepted Answer
More Answers (0)
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!