Help while using ode45

7 visualizaciones (últimos 30 días)
Jack Breenlair
Jack Breenlair el 16 de Oct. de 2015
Respondida: Torsten el 16 de Oct. de 2015
I am currently trying to solve an ode, and I want to check in each step of the integration if any of the points that i just got as a result of the ode function has crossed a region how do i do that? for instance [1 3] in x and 0 in y, or y<0. In each step of the integration all the points are saved into an array.

Respuesta aceptada

Torsten
Torsten el 16 de Oct. de 2015
The ballode example should be helpful for your purpose:
Best wishes
Torsten.

Más 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