Borrar filtros
Borrar filtros

Solve a system of differential equations numerically

2 visualizaciones (últimos 30 días)
Nishant Gupta
Nishant Gupta el 11 de Jul. de 2020
Comentada: David Goodmanson el 11 de Jul. de 2020
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 comentarios
madhan ravi
madhan ravi el 11 de Jul. de 2020
What did you try so far and state your equation explicitly.
David Goodmanson
David Goodmanson el 11 de Jul. de 2020
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by