MATLAB: From two to three dimensional matrix

matrix manipulation

Hi, I've a 400,000×28 matrix, and I'd like to convert it in a three dimensionals matrix taking the first 40 rows for 10,000 times. THe aim is to get a 40×10,000×28 matrix. Thanks

Best Answer

doc reshape