Regarding calling of matrix outside for loop
1 view (last 30 days)
Show older comments
Ravi mutturi on 21 Sep 2011
Being non-expert in Matlab, I have a problem regarding calling a matrix outside for loop.
Mat = rand(2)
Now i want a updated matrix which basically includes all the above four matrices as 2x8 matrix. I mean updated matrix = [Mat for i=1, Mat for i=2...upto i =4]
Combined = 
Mat = rand(2);
Combined = [Combined;Mat];
More Answers (0)
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!