Borrar filtros
Borrar filtros

How to solve a system of differential equations using ODE45 with a different end conditions?

1 visualización (últimos 30 días)
I have a system of differential equations which can be written down as-
system_of_eqns
The associated initial conditions are- at , . The exact span of x is not given, instead it is asked to stop iterating once . Since I don't know exactly where the end-point is reached, I cannot predict any end-point in terms of x.
I intend to solve this differential equation using ODE45 method. Now ODE45 requires a precise x_span to solve which is not known to me right now. How can I solve this process. Also, since this is looking very similar to a boundary value problem, can it be approached using bvp solvers?

Respuestas (1)

Alan Stevens
Alan Stevens el 2 de Oct. de 2020
Look up ODE Event Location in the Matlab documentation.

Categorías

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

Productos


Versión

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by