How to add mutiple condition in a event function for ode45?

I have a 3 variable state space equation. I want to extract specific set of points at which 2 of the state variables become zero. I was able to implement this for a sigle state variable case being zero. How to proceed for more than one condition?

Answers (0)

Asked:

on 2 May 2017

Community Treasure Hunt

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

Start Hunting!