I have a matrix with the dimension 65536x2
which I want to use with another of dimension 256x256
. How can I change the first matrix dimension to be 256x256
? I tried reshape
as follows:
N=reshape(u,256,256);
But, got the following error:
Error using reshape
To RESHAPE the number of elements must not change.
What should I do in this case?
Thanks.
EDIT
The original question mentioned 1x65536
, but realized that it should be 65536x2