Hi,
I want to extract a 2×2 matrix from each iteration of a for loop. Normally I would use something like
for loop=1:1:10m=[a b c d];m2(loop)=m;end
but this doesn't work because of the increased dimensions. Can anyone help?
for loop matrix
for loop=1:1:10m=[a b c d];m2(loop)=m;end
Best Answer