How to solve this linear matrix inequality?
3 views (last 30 days)
Show older comments
I tried to solve this LMI but the result isn't as expected, i don't know if the code is completely correct.I want to find F, here is my code
% Model parameters of example 8 page 44
global A; global B;
A1=[1 -.5;1 0]; B1=[1;1];
A2=[-1 -.5;1 0]; B2=[-2;1];
% Calculus of P, F1, F2.
setlmis([]);
M1=lmivar(2,[1 2]) ;
M2=lmivar(2,[1 2]) ;
X=lmivar(1,[2 1]) ;
%LMI 1,2
lmiterm([1 1 1 X],1,A1','s');
lmiterm([1 1 1 M1],B1,-1,'s');
lmiterm([2 1 1 X],1,A2','s');
lmiterm([2 1 1 M2],B2,-1,'s');
%__________
lmiterm([3 1 1 X],1,A1','s');
lmiterm([3 1 1 X],1,A2','s');
%_________
lmiterm([3 1 1 M1],B2,-1,'s');
lmiterm([3 1 1 M2],B1,-1,'s');
lmiterm([4 1 1 X],1,-1);
lmis=getlmis;
[tmin,xfeas]=feasp(lmis)
m1=dec2mat(lmis,xfeas,M1)
m2=dec2mat(lmis,xfeas,M2)
x=dec2mat(lmis,xfeas,X)
P=inv(x)
F1=m1*P
F2=m2*P
1 Comment
Ashik Rahman
on 21 Dec 2021
Hi
Were you able to solve it? I have similar problem and dunno if I am doing it correct. Would appreciate any help.
Thanks
Answers (0)
See Also
Categories
Find more on Linear Matrix Inequalities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!