Defining ODEs inside an ODE45 function.

1 visualización (últimos 30 días)
Rajendra Krishna Chaitanya Medini
Rajendra Krishna Chaitanya Medini el 8 de Abr. de 2020
Comentada: James Tursa el 8 de Abr. de 2020
Hi. How do I define ODEs inside an ODE45 function? I have a ODE45 function, which was working fine and now I would like to add two more ODEs to that as dependent variables. How can I do that? Kindly let me know.
  1 comentario
James Tursa
James Tursa el 8 de Abr. de 2020
Please give us more specifics about your current code and what ODEs you want to add. The only advice we can currently offer is to increase the size of your state vector by 2 and then add your DEs in the derivative function.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by