how can i solve discontinuos functions with ODE45 ?

2 views (last 30 days)
hi guys,
I was wondering how I can solve discontinuous functions with ODE45?
I heart that I need to restart the integration at each step, but do not know how to do that.
can anyone tell me how to solve that?
thanks in advance

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!