how can i solve matrix riccati differential equation?
Show older comments
-dXdt = - X*B*R^(-1)*B'*X + Q
11 Comments
Torsten
on 26 Mar 2018
If R is symmetric positive definite,
R^(-1) = A*A'.
Then
-dXdt = - X*(B*A)*(B*A)'*X + Q
and you can use
https://de.mathworks.com/matlabcentral/answers/94722-how-can-i-solve-the-matrix-riccati-differential-equation-within-matlab
Best wishes
Torsten.
Waleed new
on 26 Mar 2018
Waleed new
on 26 Mar 2018
Waleed new
on 26 Mar 2018
Waleed new
on 26 Mar 2018
Waleed new
on 26 Mar 2018
Torsten
on 26 Mar 2018
A is 3x3, and X has the same dimension as A.
ODE45 expects X to be in vector form, thus of length 3x3=9.
Waleed new
on 26 Mar 2018
There are quite a few errors in the line where you calculate dXdt. This is the correct formula:
dXdt = A.'*X + X*A - X*B*inv(R)*B.'*X + Q; %Determine derivative
Best wishes
Torsten.
Waleed new
on 26 Mar 2018
Answers (0)
Categories
Find more on Matrix Computations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
