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

Create uncertain real parameter

Syntax

Description

An uncertain real parameter is used to represent a real number whose value is uncertain. Uncertain real parameters have a name (the Name property), and a nominal value (NominalValue property).

The uncertainty (potential deviation from NominalValue) is described (equivalently) in 3 different properties:

The Mode property specifies which one of these three descriptions remains unchanged if the NominalValue is changed (the other two descriptions are derived). The possible values for the Mode property are 'Range', 'Percentage' and 'PlusMinus'.

The default Mode is 'PlusMinus', and [-1 1] is the default value for the 'PlusMinus' property. The range of uncertainty need not be symmetric about NominalValue.

The property AutoSimplify controls how expressions involving the uncertain matrix are simplified. Its default value is 'basic', which means elementary methods of simplification are applied as operations are completed. Other values for AutoSimplify are 'off'', no simplification performed, and 'full', which applies model-reduction-like techniques to the uncertain object.

Example

Example 1

Create an uncertain real parameter and use get to display the properties and their values. Create uncertain real parameter object a with the internal name 'a' and nominal value 5.

Note that the Mode is 'PlusMinus', and that the value of PlusMinus is indeed [-1 1]. As expected, the range description of uncertainty is [4 6], while the percentage description of uncertainty is [-20 20].

Set the range to [3 9]. This leaves Mode and NominalValue unchanged, but all three descriptions of uncertainty have been modified.

Example 2

Property/Value pairs can also be specified at creation.

Note that Mode is automatically set to 'Percentage'.

Example 3

Specify the uncertainty in terms of percentage, but force Mode to 'Range'.

See Also
ucomplex    Creates an uncertain complex parameter

umat        Creates an uncertain matrix

uss         Creates an uncertain, linear dynamic object


 Provide feedback about this page 

Previous page uplot usample Next page

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