LTPDA Toolbox™ | contents | ![]() ![]() |
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 |
Sets for this method … |
---|
default |
default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
toArray | |||
TYPE | 'ao' |
|
controls type of output array.
|
PAD | 0 |
|
Use zero-padding to handle objects with uneven lengths |
Example |
---|
plist('TYPE', 'ao', 'PAD', [false]) |
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'} |
![]() |
Method: matrix/save | Method: matrix/unpack | ![]() |
©LTP Team