Solving Riccati differential equation with time variable matrix

5 visualizaciones (últimos 30 días)
Stephan
Stephan el 16 de Oct. de 2014
Editada: Stephan el 16 de Oct. de 2014
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

Respuestas (1)

Orion
Orion el 16 de Oct. de 2014
Hi,
look example3 in ode45
your Q is the same as g in this example
  4 comentarios
Orion
Orion el 16 de Oct. de 2014
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 el 16 de Oct. de 2014
Editada: Stephan el 16 de Oct. de 2014
ok thank you.
If there are further problems, I will write them down here :)

Iniciar sesión para comentar.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by