I run loop over 3 variables
for i=1:64for j=1:630for k=1:8 A='do somthing over (i,j)' B='do something with A over (k)endendend
I want B to store values of all loops(i,j,k) but dimension of B should be(i,(jxk))..Is it possible to do this or any guidance that after running all loops I can sort the resultant in that dimensions? Actually I want resultant on each value of variable(i)
Best Answer