Hello,
I am a fairly new YALMIP user and am running into some trouble.
I want to obtain the v(x)'*Q*v(x) == p(x) for the following system:
x1' = -x1+2*x2^2
x2' = x1-x2-x1*x2-x2^3
I know that if the system were one variable, e.g. x' = x+x^2, this decomposition is trivial and explained in the basic YALMIP tutorials on SOS, but because of the multiple variables YALMIP is not taking the input.
Code below:
x1 = sdpvar(1,1); x2 = sdpvar(1,1);
p = [-x1+2*x2^2; x1-x2-x1*x2-x2^3;];
F = sos(p);
solvesos(F)
My only goal is to obtain the polynomial Lyapunov function for the above system.
Any suggestions on syntax changes?
Thanks,
David