hello,
my code-
for ii=1:100 if ii=1 x=0; else for i=1:2:(((2^(ii-1))*2)-1) if i==1 x=rand(2,2) elseif i==(((2^(ii-1))*2)-1) x=10*rand(2,2) else x=100*rand(2,2) end y=x end endend
at y=x, i would like to append all the 2by2 matrices from the nested loop. how do i do that?
Best Answer