How to solve this linear matrix inequality?
조회 수: 3 (최근 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
댓글 수: 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에서 Linear Matrix Inequalities에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!