MATLAB: How to use reshape

reshapesplit

I have a matrix with – 23043864×3 double.
i want to split this matrix in to 339 rows using reshape.
So it wil becaome – 339 x (something) double.
any help would be apriciated !
thank you

Best Answer

try this:
B = reshape(A,339,[]); % A is the original matrix, B is the reshaped matrix