| Robust Control Toolbox | |
| Provide feedback about this page |
Generate random uncertain umat objects
Syntax
Description
um = randumat(ny,nu)
generates an uncertain matrix of size ny-by-nu. randumat randomly selects from uncertain atoms of type 'ureal', 'ultidyn', and 'ucomplex'.
um = randumat
results in a 1-by-1 umat uncertain object, including up to four uncertain objects.
Examples
The following statement creates the umat uncertain object x1 of size 2-by-3. Note that your result can differ because a random seed is used.
x1 = randumat(2,3) UMAT: 2 Rows, 3 Columns ROQAW: complex, nominal = 9.92+4.84i, radius = 0.568, 1 occurrence UEPDY: real, nominal = -5.81, variability = [-1.98681 0.133993], 3 occurrences VVNHL: complex, nominal = 5.64-6.13i, radius = 1.99, 2 occurrences
The following statement creates the umat uncertain object x2 of size 4-by-2 with the seed 91.
rand('seed',91); randn('seed',91); x2 = randumat(4,2) UMAT: 4 Rows, 2 Columns SSAFF: complex, nominal = -0.366+2.81i, radius = 1.76, 3 occurrences VDTIH: complex, nominal = -3.03-3i, +/- 27.5%, 2 occurrences XOLLJ: real, nominal = 0.0628, range = [-3.73202 4.28174], 1 occurrence
See Also
rand Generate uniformly distributed random numbers
randn Generate normally distributed random numbers
randatom Create a random uncertain atom
randuss Create a random uncertain system
ucomplex Creates an uncertain complex parameter
ultidyn Creates an uncertain linear time-invariant object
| Provide feedback about this page |
![]() | randatom | randuss | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |