ez.reshape: reshape matrix

ez.reshapeR Documentation

reshape matrix

Description

reshape matrix

Usage

ez.reshape(a, n, m)

Value

reshape(a, n, m) returns the n-by-m matrix whose elements are taken column-wise from a.
An error results if a does not have n*m elements. If m is missing, it will be calculated from n and the size of a.


jerryzhujian9/ezmisc documentation built on March 9, 2024, 12:44 a.m.