I have 1000*129*135 3D array. I want to store the output of following programe in matrix form.
for i=1:129 j=1:135;
% some operation on b
c=output %after operation on b
I want to save output of all iteration in 129*135 matrix. How to do that?