Solve a system of differential equations numerically

조회 수: 4 (최근 30일)
Nishant Gupta
Nishant Gupta 2020년 7월 11일
댓글: David Goodmanson 2020년 7월 11일
I am trying to solve a system of differential equations numerically, preferably using the ode45 command. The equations are as follows-
dx/dt = f(x,y)*g(x)
dy/dx = h(x)
Both 'x' and 'y' are dependent variables and 't' is the independent variable
  댓글 수: 2
madhan ravi
madhan ravi 2020년 7월 11일
What did you try so far and state your equation explicitly.
David Goodmanson
David Goodmanson 2020년 7월 11일
Hi Nishant,
If you convert the second equation to
dy/dt = h(x)*dx/dt
then you have a system where dy/dt and dx/dt can be specified in terms of x and y, so ode45 will apply.

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

답변 (0개)

카테고리

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