Dynamic-Calibration/utils/YALMIP-master/extras/@ncvar/uncertain.m

20 lines
499 B
Matlab
Executable File

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);