Solve the Riccati eqn symbolically

23 visualizzazioni (ultimi 30 giorni)
END
END il 4 Mar 2016
Hi folks
I want to solve the Riccati equation symbolically. For example, I have 4 state variables in Q and 2 inputs in R lqr weights.
Q=diag([q11 q22 q33 q44]);
R=diag([r11 r22]);
The Riccati equation is
A'*P+P*A-P*B*(inv( R ))*B'*P+Q=0
A:4x4 matrix , B:4x2 matrix
I want to solve that equation with respect to "P" matrix variable.
In other words, the answer should be like P=(...) and that should contain the variables q11 q22 q33 q44 and r11 r22. Is there anyone who can help? I appreciate all answers,
Thank you

Risposte (1)

Walter Roberson
Walter Roberson il 4 Mar 2016
  3 Commenti
Walter Roberson
Walter Roberson il 28 Feb 2020
Not the link that used to exist, but related topics:
https://www.mathworks.com/help/symbolic/mupad_ref/ode-solve.html (caution: you cannot use this directly inside of MATLAB; you have to use a MuPAD notebook, or you need to use evalin(symengine)
Walter Roberson
Walter Roberson il 2 Mar 2020
Modificato: Walter Roberson il 2 Mar 2020
It appears that the original link was probably intended to refer to the discussion that can currently be found at https://groups.google.com/forum/m/#!topic/comp.soft-sys.matlab/lteUP95r03E

Accedi per commentare.

Categorie

Scopri di più su Matrix Computations in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by