I have a (4 x 200) 2d matrix and I need to make a 3d matrix of dimensions (4 x 4 x 50) I need to take 4 rows in 2d matrix and 4 columns of that but my columns repitation of 50. for example : for (4 x 200) 2d matrix if I choose 1th of column in 2d matrix for 1th column in 3d matrix, 2th column in 3d matrix is 51th column of 2d matrix and respectivily; 3th –> 101th , 4th–> 151th. this 4 columns are my page1 in 3d matrix and for the other pages as the same way. but how can I do this?
MATLAB: Can anyone help me with making a 2D matrix into a 3D matrix
help please
Best Answer