Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kristian Soltesz
PIDopt
Commits
8a45acaf
Commit
8a45acaf
authored
Jan 08, 2018
by
Kristian Soltesz
Browse files
IE code can now handle cases where some GOF are not constrained
parent
f8ba8a51
Changes
1
Hide whitespace changes
Inline
Side-by-side
pidIE.m
View file @
8a45acaf
...
...
@@ -49,9 +49,15 @@ for iter = 1:max_iters
subject
to
K
=
K1
*
p
;
L
=
P
.*
K
;
real
(
conj
((
Lc
-
cs
)
.
/
abs
(
Lc
-
cs
))
.*
(
L
-
cs
))
>=
rs
;
% Sensitivity constraint
real
(
conj
((
Lc
-
ct
)
.
/
abs
(
Lc
-
ct
))
.*
(
L
-
ct
))
>=
rt
;
% Complementary sensitivity constraint
abs
(
K
)
-
Mks
.*
real
(
conj
(
1
+
Lc
)
.
/(
abs
(
1
+
Lc
))
.*
(
1
+
L
))
<=
0
;
% Noise sensitivity constraint
if
Ms
<
inf
real
(
conj
((
Lc
-
cs
)
.
/
abs
(
Lc
-
cs
))
.*
(
L
-
cs
))
>=
rs
;
% 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
if
n
==
2
p
(
3
)
=
NaN
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment