Borrar filtros
Borrar filtros

Ode option

4 visualizaciones (últimos 30 días)
Mitch Martelli
Mitch Martelli el 17 de Nov. de 2011
Hi at all,
I would like to ask you if there is a way,using standard matlab ode function, to stop the calculation before the final time; more precisely when a specific condition is satisfied.
It is possible do it without rewrite for example the ode45?
Thanks
Mitch

Respuesta aceptada

Jan
Jan el 17 de Nov. de 2011
You can call ODE45 with an event function. See the docs for ODE45, e.g. http://www.mathworks.com/help/techdoc/ref/ode45.html and look for "event".
  1 comentario
Mitch Martelli
Mitch Martelli el 25 de Nov. de 2011
sorry for the delay... thanks jan...it work good...i resolve my problem..

Iniciar sesión para comentar.

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