Solving Riccati differential equation with time variable matrix

8 Ansichten (letzte 30 Tage)
Stephan
Stephan am 16 Okt. 2014
Bearbeitet: Stephan am 16 Okt. 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

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by