20 lines
499 B
Mathematica
20 lines
499 B
Mathematica
|
|
function x = uncertain(x)
|
||
|
|
%UNCERTAIN Declares a variable as uncertain
|
||
|
|
%
|
||
|
|
% F = UNCERTAIN(x) is used to describe the set of parametric variables
|
||
|
|
% in an uncertain program, as an alternative to using the 4th input in
|
||
|
|
% SOLVEROBUST.
|
||
|
|
%
|
||
|
|
% If an uncertain multi-parametric problem is solved, UNCERTAIN has to be
|
||
|
|
% used to declare the set of uncertain variables
|
||
|
|
%
|
||
|
|
% INPUT
|
||
|
|
% x : SDPVAR object
|
||
|
|
%
|
||
|
|
% OUTPUT
|
||
|
|
% F : SET object
|
||
|
|
%
|
||
|
|
% See also SOLVEROBUST, ROBUSTIFY
|
||
|
|
|
||
|
|
x.typeflag = 15;
|
||
|
|
x = lmi(x);
|