Method matrix/toArray


  TOARRAY unpacks the objects in a matrix and places them into a MATLAB
  array
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: TOARRAY unpacks the objects in a matrix and places them into a MATLAB
  array.
 
  CALL:        out = toArray(in);
 
 
 
  Note: this is just a convenient wrapper around matrix/getObjectAtIndex.
  The output objects will be the result of calling matrix/getObjectAtIndex
  for the correct index. This method does not add history, instead the
  history contains the call to getObjectAtIndex.
 
  INPUTS:      in      -  input matrix object
 
  OUTPUTS:     out     -  array of output objects
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class matrix
Sealed 0
Static 0

Parameter Description

default

no description
Key Default Value Options Description
toArray
TYPE 'ao'
  • 'ao'
  • 'doublex'
  • 'doubley'
controls type of output array.
  • ao - xdata, time, or Fourier frequency
  • doublex - double sourced from xdata of xydata,tsdata, or fsdata object
  • doubley - double sourced from ydata of xydata,tsdata, or fsdata object
PAD 0
  • 0
  • 1
Use zero-padding to handle objects with uneven lengths

Example

plist('TYPE', 'ao', 'PAD', [false])

back to top back to top

Some information of the method matrix/toArray are listed below:
Class name matrix
Method name toArray
Category Output
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team