All solvers solve systems of equations in the form or problems that involve a mass matrix, . The ode23s solver can solve only equations with constant mass matrices. A vector of initial conditions. See odeset for details. Optional parameters to be passed to odefun .
Y corresponds to a time returned in column vector T .
See odeset for details. For each event function, you specify whether the integration is to terminate at a zero and whether the direction of the zero crossing matters. Corresponding entries in TE , YE , and IE return, respectively, the time at which an event occurs, the solution at the time of the event, and the index i of the event function that vanishes. You must pass odefun as a function handle. Indices into the vector returned by the function specified in the Event option.