Commit ad8d364e authored by Kristian Soltesz's avatar Kristian Soltesz
Browse files

now IE design works also for PI

parent e6bb33a4
...@@ -59,10 +59,7 @@ for iter = 1:max_iters ...@@ -59,10 +59,7 @@ for iter = 1:max_iters
abs(K) - Mks.*real(conj(1+Lc)./(abs(1+Lc)).*(1+L)) <= 0; % Noise sensitivity constraint abs(K) - Mks.*real(conj(1+Lc)./(abs(1+Lc)).*(1+L)) <= 0; % Noise sensitivity constraint
end end
cvx_end cvx_end
if n == 2
p(3) = NaN;
end
% Stopping criterion (heuristic) - change as needed % Stopping criterion (heuristic) - change as needed
if (p(2)-prev_obj) < 1e-3*prev_obj if (p(2)-prev_obj) < 1e-3*prev_obj
break; break;
...@@ -73,4 +70,4 @@ end ...@@ -73,4 +70,4 @@ end
s = zpk('s'); s = zpk('s');
K1 = [1 1/s s]; K1 = [1 1/s s];
K1 = K1(1:n); K1 = K1(1:n);
K = K1*p; K = K1*p;
\ No newline at end of file
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