Event function and ODE.
Mostrar comentarios más antiguos
I was solving an one dimensional ODE using ODE45.
I have two events in event function, where the execution of second event is dependent on the time instant of the first event.
How could I do that? Please help!
Elaborately...
1) Second event will comes into existence only after the execution of first event and is dependent on the time instant of first event.
for example..
Let first event instant be t=te. Then second instant will be at t=te+1.
3 comentarios
Steven Lord
el 20 de Nov. de 2024
Can you provide the ODE you're trying to solve, describe what it represents (a ball bouncing on the ground, a baton twirling in the air, a ballistics problem, etc.), and explain what the events represent in the physical system?
Arnab
el 21 de Nov. de 2024
Steven Lord
el 21 de Nov. de 2024
Can you show the mathematical form of the ODE you're trying to solve, not the code? Show it and describe what it's computing in text, please.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

