Home > Objects > @iData > reshape.m

iFit/reshape

PURPOSE ^

c = reshape(a) : reshape the object Signal

SYNOPSIS ^

function a = reshape(a, varargin)

DESCRIPTION ^

 c = reshape(a) : reshape the object Signal

   @iData/reshape function to reshape the object Signal array
     reshape(a, m,n,p,...) reshapes the Signal as an m*n*p*... array
       the number of elements in the initial Signal must be m*n*p*...
     reshape(a, [m n p ...]) is the same thing.

     the resulting object has the elements of the initial one reordered so that
       the final size is that requested.

 input:  a:   object or array (iData)
         m,n,p...: dimensions (integers)
 output: c: object or array (iData)
 ex:     a=iData(peaks(60)); b=reshape(a, 75, 48);

 Version: Aug. 22, 2017
 See also iData, iData/squeeze, iData/size, iData/permute, iData/resize, iData/reducevolume

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1