Why does the UCOMPLEX object fail to use its "Mode" method properly in the Robust Control Toolbox 3.0 (R14sp1)?
1 view (last 30 days)
Show older comments
I have created an uncertain complex parameter in the Robust Control Toolbox. However it doesn't seem to be using its "Mode" method as stated in the documentation. The documentation specifies the following:
The Mode property determines which description remains invariant if the NominalValue is changed (the other is derived). The default Mode is 'Radius' and the default radius is 1.
However, when the Mode is specified as 'Percentage' and the 'NominalValue' property is changed, the 'Radius' still remains invariant and the 'Percentage' changes to accommodate the 'NominalValue'.
This is demonstrated in the following code:
>> A = ucomplex('a',1+j,'Percentage',70.7)
Uncertain Complex Parameter: Name a, NominalValue 1+1i, +/- 70.7%
>> A.Radius
ans =
0.9998
>> A.NominalValue=(1+324*j)/456
Uncertain Complex Parameter: Name a, NominalValue 0.00219+0.711i, +/- 141%
>> A.Radius
ans =
0.9998
>> A.Mode
ans =
Percentage
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This has been verified as a bug in Robust Control Toolbox 3.0 (R14SP1) in the way that an uncertain complex parameter handles its 'Mode' property.
There are currently no known workarounds.
0 Comments
More Answers (0)
See Also
Categories
Find more on Uncertain Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!