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!