umat
Uncertain matrix
Description
Use the umat
object to represent matrices whose entries have
uncertain values. Uncertain matrices are useful for worst-case gain analysis and for building
uncertain state-space (uss
) models.
Creation
Create uncertain matrices by creating uncertain elements of type ureal
, ucomplex
, or ucomplexm
and combining them using arithmetic and matrix operations. For
example, the following code creates a umat
object representing a 2-by-2
matrix with the uncertain parameter p
.
p = ureal('p',1);
M = [0 p; 1 p^2]
Uncertain matrix with 2 rows and 2 columns. The uncertainty consists of the following blocks: p: Uncertain real, nominal = 1, variability = [-1,1], 3 occurrences Model Properties Type "M.NominalValue" to see the nominal value and "M.Uncertainty" to interact with the uncertain elements.
The syntax M = umat(A)
converts the double array A
to a umat
object with no uncertainty.
Properties
Object Functions
Most standard matrix manipulations are valid on uncertain matrices, including addition, multiplication, inverse, and horizontal and vertical concatenation. You can index, reference, and assign specific rows, columns, or entries of an uncertain matrix the same as you would any matrix.
The following list contains a representative subset of some of the other functions you can
use with umat
matrices.
blkdiag | Block-diagonal concatenation of models |
connect | Block diagram interconnections of dynamic systems |
getBlockValue | Get current value of Control Design Block in Generalized Model |
getNominal | Nominal value of uncertain model |
isuncertain | Check whether argument is uncertain class type |
ss | State-space model |
usample | Generate random samples of uncertain model or element |
usubs | Substitute given values for uncertain elements of uncertain objects |
Examples
Version History
Introduced before R2006a