Solving Riccati differential equation with time variable matrix

8 次查看(过去 30 天)
Given: differential equation -P(t)AP(t) + Q(t) = dP(t)
A is known and constant Q is known for all time steps
Now I want to solve this equation to get P. How can i achieve this by using solver like ode45? I do not know how to include the time variable matrix Q in the solving algorithm.
Thanks in advance

回答(1 个)

Orion
Orion 2014-10-16
Hi,
look example3 in ode45
your Q is the same as g in this example
  4 个评论
Orion
Orion 2014-10-16
it shoudn't change anything, even if you don't have a formula.
you have a vector Q (n sample), and you just use this vector.
Stephan
Stephan 2014-10-16
编辑:Stephan 2014-10-16
ok thank you.
If there are further problems, I will write them down here :)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by