You can either keep the matrices in cell arrays : A{1}, A{2}, A{3}...
OR you can keep'em in multidimensional matrices
A(1,:,:), A(2,:,:)
and in the latter case, you got to use command "squeeze" to convert them into 2 dimensional, i.e.,
B = squeeze(A(1,:,:))