LTPDA Toolbox™ | contents | ![]() ![]() |
DIAG overloads the diagonal operator for analysis objects. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: DIAG overloads the diagonal operator for analysis objects. CALL: b = diag (a) % only with cdata AOs b = diag (a, pl) % only with cdata AOs INPUTS: a - input analysis object pl - parameter list OUTPUTS: b - output analysis object Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | ao |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
1D |
2D |
3D |
1D |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
AXIS | 'y' | none | The axis on which to apply the method. |
DIM | [] | none | The dimension of the chosen vector to apply the method to. This is necessary for functions like mean() when applied to matrices held in cdata objects. For tsdata, fsdata or xydata, this option has no effect. |
OPTION | 0 | none | See help on MATLAB's diag. |
2D |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
AXIS | 'y' |
|
The axis on which to apply the method. |
OPTION | 0 | none | See help on MATLAB's diag. |
3D |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
AXIS | 'z' |
|
The axis on which to apply the method. |
DIM | [] | none | The dimension of the chosen vector to apply the method to. This is necessary for functions like mean() when applied to matrices held in the z field of xyzdata objects. |
OPTION | 0 | none | See help on MATLAB's diag. |
Some information of the method ao/diag are listed below: | |
---|---|
Class name | ao |
Method name | diag |
Category | Operator |
Package name | ltpda |
VCS Version | 175910878ca914560542d679d9d392de37438d84 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
![]() |
Method: ao/det | Method: ao/eig | ![]() |
©LTP Team