| 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]) |
back to top
| Some information of the method matrix/toArray are listed below: | |
|---|---|
| Class name | matrix |
| Method name | toArray |
| Category | Output |
| Package name | ltpda |
| Can be used as modifier | 1 |
| Supported numeric types | {'double'} |
|
Method: matrix/save | Method: matrix/unpack | ![]() |
©LTP Team