Please tell me where is the error in the code #1344
Replies: 4 comments 3 replies
-
I already told you that it is not an LMI as you don't have a symmetric object. Lyapunov/stability theory is always in the form A'X+XA etc which your's clearly fails to satisfy. Hence read the theory again. Second, I gave you links to read, and you have not read them as there is no use of a function called solvesdp there (as there is no such function officially at all in YALMIP, and there is no official function called double either) and it is also explained that strict inequalities are not supported |
Beta Was this translation helpful? Give feedback.
-
Thanks prof,
In fact, I want to solve this inequality in the following theorem
*Theorem :*
The system is admissible if and only if there exist matrices X>0 and Y
satisfying
[image: image.png]
[image: image.png]
and let :
[image: image.png]
Le ven. 3 nov. 2023 à 17:39, Johan Löfberg ***@***.***> a
écrit :
… I already told you that it is not an LMI as you don't have a symmetric
object. Lyapunov/stability theory is always in the form A'*X+X*A etc
which your's clearly fails to satisfy. Hence read the theory again.
Second, I gave you links to read, and you have not read them as there is
no use of a function called solvesdp there (as there is no such function
officially at all in YALMIP, and there is no official function called
double either) and it is also explained that strict inequalities are not
supported
—
Reply to this email directly, view it on GitHub
<#1344 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDSZNYEICAILM6MJZA3MSZTYCUM5DAVCNFSM6AAAAAA64SCKWGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINRZGEZTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks.
Can you help me with that LMI ?
Le ven. 3 nov. 2023 à 19:40, Johan Löfberg ***@***.***> a
écrit :
… yes, and you are not appying the sym operator which clearly is used there,
i.e. sym(z) means z+z'
—
Reply to this email directly, view it on GitHub
<#1344 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDSZNYCXMX6SMNKJ2RWKEXDYCU3BLAVCNFSM6AAAAAA64SCKWGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINZQGEYTG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for the clarification.
Le sam. 4 nov. 2023 à 12:38, Johan Löfberg ***@***.***> a
écrit :
… You already coded it, except you have to apply the symmetry operator, use
non-strict inequality (and possible then add something which avoids trivial
0 solution), and the correct function for solving it.
—
Reply to this email directly, view it on GitHub
<#1344 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDSZNYAO4CZT5U7KA6TOAK3YCYSL5AVCNFSM6AAAAAA64SCKWGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINZTG4ZTK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
A = [-2 1; 1 -1];
E = [1 8; 1 8];
B= [1 ; -1];
%alpha = 1.2;
n=size(A,1);
n=size(E,1);
[n1,m]=size(B);
X= sdpvar(n, n);
Y= sdpvar(n1, n);
LMI = [2sin(3/4pi)A'(XE+BY'), zeros(n,n);
zeros(n,n) , 2sin(3/4pi)A'(XE+BY')];
const = [LMI<0, X>0,Y>0];
solvesdp(const);
X = double(X);
Y = double(Y);
Beta Was this translation helpful? Give feedback.
All reactions