MATLAB: Converting a 3d matrix into a 2d matrix

3d into 2d

hi, i have a 3d matrix of size 11*3*250,i want to covert it into 11*250,3 provided the entries in the coulmn does not change.if somebody can address the problem Thanks in advance

Best Answer

B = reshape(A,11,250,3) ;
Where A is your 11*3(250 matrix