RESHAPE

 

 Change size.

  RESHAPE(X,M,N) returns the M-by-N matrix whose elements

  are taken columnwise from X.  An error results if X does

  not have M*N elements.