How to solve this linear matrix inequality?
5 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/285023/image.png)
1 个评论
Ashik Rahman
2021-12-21
Hi
Were you able to solve it? I have similar problem and dunno if I am doing it correct. Would appreciate any help.
Thanks
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LMI Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!