•
•
>> b
p,k
= emargin (P,K);
% given
P
and
K
, compute
b
P,K
•
>> [K
opt
, b
p,k
]=ncfsyn(P,1);
% find the optimal controller
K
opt
.
•
>> [K
sub
, b
p,k
] = ncfsyn(P,2);
% find a suboptimal controller
K
sub
.