Solving Riccati differential equation with time variable matrix

조회 수: 8 (최근 30일)
Stephan
Stephan 2014년 10월 16일
편집: Stephan 2014년 10월 16일
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