Event function and ODE.
Mostra commenti meno recenti
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 Commenti
Steven Lord
il 20 Nov 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
il 21 Nov 2024
Steven Lord
il 21 Nov 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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Ordinary Differential Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

