Commit 8a45acaf authored by Kristian Soltesz's avatar Kristian Soltesz
Browse files

IE code can now handle cases where some GOF are not constrained

parent f8ba8a51
...@@ -49,9 +49,15 @@ for iter = 1:max_iters ...@@ -49,9 +49,15 @@ for iter = 1:max_iters
subject to subject to
K = K1*p; K = K1*p;
L = P.*K; L = P.*K;
real(conj((Lc-cs)./abs(Lc-cs)).*(L-cs)) >= rs; % Sensitivity constraint if Ms < inf
real(conj((Lc - ct)./abs(Lc-ct)).*(L-ct)) >= rt; % Complementary sensitivity constraint real(conj((Lc-cs)./abs(Lc-cs)).*(L-cs)) >= rs; % Sensitivity constraint
abs(K) - Mks.*real(conj(1+Lc)./(abs(1+Lc)).*(1+L)) <= 0; % Noise sensitivity constraint end
if Mt < inf
real(conj((Lc - ct)./abs(Lc-ct)).*(L-ct)) >= rt; % Complementary sensitivity constraint
end
if Mks < inf
abs(K) - Mks.*real(conj(1+Lc)./(abs(1+Lc)).*(1+L)) <= 0; % Noise sensitivity constraint
end
cvx_end cvx_end
if n == 2 if n == 2
p(3) = NaN; p(3) = NaN;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment