| Robust Control Toolbox | |
| Provide feedback about this page |
Create options object for use with wcgain, wcsens, and wcmargin
Syntax
Description
options = wcgopt
(with no input arguments) creates an options object with all the properties set to their default values.
options = wcgopt('name1',value1,'name2',value2,...)
creates a wcgain, wcsens and wcmargin options object called options in which specified properties have specific values. Any unspecified property is set to its default value. It is sufficient to type only enough leading characters to define the property name uniquely. Case is ignored for property names.
wcgopt
with no input or output arguments displays a complete list of option properties and their default values.
The following are the wcgopt object properties:
Examples
You can create a wcgopt options object called opt with all default values.
opt = wcgopt Property Object Values: Sensitivity: 'on' LowerBoundOnly: 'off' FreqPtWise: 0 ArrayDimPtWise: [] VaryUncertainty: 25 Default: [1x1 struct] Meaning: [1x1 struct] AbsTol: 0.0200 RelTol: 0.0500 MGoodThreshold: 1.0400 AGoodThreshold: 0.0500 MBadThreshold: 20 ABadThreshold: 5 NTimes: 2 MaxCnt: 3 MaxTime: 720
The following statements change the absolute tolerance stopping criterion from 0.02 to 0.04 and the point wise over frequency test from the peak worst-case value, opt.FreqPtWise=0, to the worst-case value at every frequency.
opt = wcgopt; opt.AbsTol = 0.04; opt.FreqPtWise = 1; opt Property Object Values: Sensitivity: 'on' LowerBoundOnly: 'off' FreqPtWise: 1 ArrayDimPtWise: [] Default: [1x1 struct] Meaning: [1x1 struct] VaryUncertainty: 25 AbsTol: 0.0400 RelTol: 0.0500 MGoodThreshold: 1.0400 AGoodThreshold: 0.0500 MBadThreshold: 20 ABadThreshold: 5 NTimes: 2 MaxCnt: 3 MaxTime: 720
This statement makes a single call to wcgopt to set the maximum computation time to 10000 seconds and disables the Sensitivity calculation.
See Also
dkitopt Creates a dksyn options object
roboptCreates a robustperf/robuststab options object
wcgain Calculates worst-case gain of a system
wcnorm Calculates worst-case gain of a matrix
wcsens Calculates worst-case sensitivities for a feedback loop
wcmargin Calculates worst-case margins for a feedback loop
| Provide feedback about this page |
![]() | wcgain | wcmargin | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |