Solve long matrices equation
2 次查看(过去 30 天)
显示 更早的评论
Hello,
please I would like help to solve this equation with matlab ( you can see it in the screenshot). I want to find the matrix P11. All other matrices in the equation are known.
0 个评论
回答(2 个)
cui,xingxing
2024-5-4
From your screenshot formulas, you should first prioritize the formulas Manipulation and Simplification, and then try to solve the analytical solution using some of the functions of the Symbolic Math Toolbox™, and if the analytical solution doesn't exist theoretically, you should try to get a numerical solution, which is valuable in a lot of engineering. Secondly, based on your equation, which is in matrix expression form, you should do a specific analysis based on your specific application context to simplify your process.
Finally, see the following link for generalities about the functionality of solving with the Symbolic Math Toolbox™:
John D'Errico
2024-5-4
编辑:John D'Errico
2024-5-4
This is a classic algebraic Ricatti equation.
How do you solve it in MATLAB? It looks like the care function does that, which is now obsolete, and superceeded by icare. (I hope they never have to come up with a name to supercede icare. What would they use? Maybe ycare? Ok, I know, who cares?)
help icare
As you can see, it handles exactly your problem. Just plug in your matrices. You would have something like this:
Q = 0
S = B
G = 0
X = P11
E = I
A = 2*A
I think I got them right, but it would be worth a quick check, as the form in icare does not have B factored out and paired with R^-1.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!