Robust Control Toolbox™ Previous page   Next Page 
diag
 Provide feedback about this page

Diagonalize vector of uncertain matrices and systems

Syntax

Description

If x is a vector of uncertain system models or matrices, diag(x) puts x on the main diagonal. If x is a matrix of uncertain system models or matrices, diag(x) is the main diagonal of x. diag(diag(x)) is a diagonal matrix of uncertain system models or matrices.

Example

The statement produces a diagonal system mxg of size 4-by-4. Given multivariable system xx, a vector of the diagonal elements of xxg is found using diag.

See Also
append      Group models by appending their inputs and outputs


 Provide feedback about this page 

Previous page delmvar dkitopt Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS