for example if I have:
>> A=[2 8; 0 5]
A =
2 8 0 5
and I want to separate each row so that A=
A(:,:,1) =
2 8
A(:,:,2) =
0 5
multidimensional arrays
2 8 0 5
2 8
0 5
Best Answer