Event function and ODE.
古いコメントを表示
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 件のコメント
Steven Lord
2024 年 11 月 20 日
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
2024 年 11 月 21 日
Steven Lord
2024 年 11 月 21 日
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

