Define a polynomial in SOS

34 views
Skip to first unread message

Qu Cao

unread,
Mar 18, 2015, 11:20:15 PM3/18/15
to yal...@googlegroups.com
I'm studying the problem of Lyapunov function in the discrete-time case.

For instance, the discrete-time system is

x1 (k+1) = x2(k)^2 + 3
x2 (k+1) = 2*x1(k)

Now I define a unknown polynomial as the Lyapunov function

[J(k), coef] = polynomial([x1 x2], 2);

So, how can I get the expression of J(k+1)? Can I use the subs function in MATLAB, something like

J(k+1) = subs(J(k), [x1 x2], [x2^2+3, 2*x1])

I think the type of J(k) is not symbolic any more. My problem is more complex than the example with more states and higher orders. Is there any way to perform substitution within the sdpvar?

Johan Löfberg

unread,
Mar 19, 2015, 2:21:43 AM3/19/15
to yal...@googlegroups.com
replace
Reply all
Reply to author
Forward
0 new messages