Solve the Riccati eqn symbolically
27 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Walter Roberson
2016-3-4
3 个评论
Walter Roberson
2020-2-28
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
2020-3-2
编辑:Walter Roberson
2020-3-2
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Computations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!