Reshape error when converting 2D to 3D data
1 view (last 30 days)
I want to convert 2D data to 3D.
Currently I use :
However it is very slow. I try the following code then:
permute(reshape(data1, 200, 8578, 200), [1 3 2]);
But, I get the following error:
Error using reshape
To RESHAPE the number of elements must not change.
Size of data1 is 1751600x200.
Thank you for help.