Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

event function for an ode solver

1 visualización (últimos 30 días)
Alexander
Alexander el 8 de En. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Taken this:
It is possible to formulate an event function, where the current time and the current y value. Of course, it is possible to pass additional parameters to perform other comparisons. For example, I could pass the (diff)-function I integrate and formulate a stopping event based on a differential value.
The question is: how to formulate a stopping event based on the current integral value?
I. e.: The integrator has to proceed until a certain area under the calculated t-y values is reached.
Thanks
Alex

Respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by