how to reshape a matrix in matlab?

67 Views Asked by At

I have a matrix that is 321*531(1*170451) but it has some nan values, so I have to eliminate these nan values,,so I use this code in matlab:

m=isfinite(x);

n=x(m)';

then my matrix turns to 1*75638 and I don't know how to reshape this matrix to 321*531.

0

There are 0 best solutions below