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

Uncertain matrices

Syntax

Description

Uncertain matrices are usually created by manipulation of uncertain atoms (ureal, ucomplex, ultidyn, etc.), double matrices, and other uncertain matrices. Most standard matrix manipulations are valid, including addition, multiplication, inverse, horizontal and vertical concatenation. Specific rows/columns of an uncertain matrix can be referenced and assigned also.

The command umat is rarely used. There are two situations where it may be useful. If M is a double, then H = umat(M) recasts M as an uncertain matrix (umat object) without any uncertainties. Similarly, if M is an uncertain atom, then H = umat(M) recasts M as an uncertain matrix (umat object) whose value is merely the uncertain atom. In both cases, simplify(H,'class') is the same as M.

If M is a umat, then M.NominalValue is the result obtained by replacing each uncertain atom in M with its own nominal value.

If M is a umat, then M.Uncertainty is an object describing all the uncertain atoms in M. All atoms can be referenced and their properties modified with this Uncertainty gateway. For instance, if B is an uncertain real parameter in M, then M.Uncertainty.B accesses the uncertain atom B in M.

Example

Create 3 uncertain atoms and then a 3-by-2 umat.

View the properties of M with get

The nominal value of M is the result when all atoms are replaced by their nominal values. View the properties of M with get

Change the nominal value of a within M to 4. The nominal value of M reflects this change.

Get a random sample of M, obtained by taking random samples of the uncertain atoms within M.

Select the 1st and 3rd rows, and the 2nd column of M. The result is a 2-by-1 umat, whose dependence is only on b.

See Also
ureal       Creates an uncertain real parameter

ultidyn     Creates an uncertain linear time-invariant object

ucomplex    Creates an uncertain complex parameter

ucomplexm   Creates an uncertain complex matrix

usample     Generates random samples of an uncertain object


 Provide feedback about this page 

Previous page ultidyn uplot Next page

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