History function for ODE45

조회 수: 8(최근 30일)
shahin sharafi
shahin sharafi 2021년 10월 25일
댓글: shahin sharafi 2021년 10월 25일
Hi everyone
I am currently solving an equation using ODE45 in matlab. I had a question though.
Is that possible to define a history function for ODE45 instead of initial conditions?
Thank you in advance for you help.
Regards,

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2021년 10월 25일
Since ode45 solves systems of first-order differential equations on the standard form the history does not matter, so I've never seen a way to incorporate that into ode45-calls. If your differential equations depend on the history you perhaps have a delay-differential equation - which can be handled with dde23, look at the help and documentation to that function...
HTH
  댓글 수: 1
shahin sharafi
shahin sharafi 2021년 10월 25일
Thank you very much.....

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by