Hi everyone
I wrote a script to solve a LPV, LMI problem, I want to get the appropriate P and F and decay rate
The problem is as follow:
and the code :
P = sdpvar(10,10,'full');
F = sdpvar(1,10);
h = sdpvar(1,1);
t = sdpvar(1,1);
A = sdpvar(10,10,'full');
B = sdpvar(10,1,'full');
Uncertainty = [uncertain(t), 0 <= t <= 2*pi];
Lyapunov = [];
h = cos(t)/6;
for i = 1:3
for j = 1:2
Lyapunov = [Lyapunov,P*h*(SysRed1(i,j).A-SysRed1(i,j).B*F)+P*(h*(SysRed1(i,j).A-SysRed1(i,j).B*F))'<=0];
end
end
h = (1-cos(t))/6;
for i = 1:3
for j = 1:2
Lyapunov = [Lyapunov,P*h*(SysRed2(i,j).A-SysRed2(i,j).B*F)+P*(h*(SysRed2(i,j).A-SysRed2(i,j).B*F))'<=0];
end
end
Lyapunov = [Lyapunov,P>=zeros(10,10)]
optimize([Lyapunov,Uncertainty])
value(F)
value(P)
Is it supposed to use Semudi as solver? but yalmip used FMINCON as default, I don't know if this is right,
please help me if you know how to solve it,
Thanks in advance!
and B is like :
I tried to replace the zeros by a small value like e-09, but it doesn't work...
could you please give me some advise..
Thank you for your time!
optimize([A1*Y+Y*A1'-B1*L-L'*B1' <= -eye(10), Y>=0])