Info

This question is closed. Reopen it to edit or answer.

Utilisation of the event command

1 view (last 30 days)
Martin Matin
Martin Matin on 30 Mar 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
I'd like to create a script that is going to use an ode45 function. But this function can change because of the variables. I heard you need to use the Event Command but I can't find a proper example on the Internet. Can you give me one or a little explanation about how it works and how to use it ?
Thanks.
  1 Comment
Titus Edelhofer
Titus Edelhofer on 30 Mar 2015
Hi Martin,
could you explain in some more detail what you mean by "this function can change because of the variables". Do you mean, that the function you integrate with ode45 can have jumps that should be told to the ode45 function?
Titus

Answers (0)

Community Treasure Hunt

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

Start Hunting!