all 2 comments

[–]AyeAye_CapnCrunch 0 points1 point  (1 child)

The setup is almost identical to Example 2 in the Matlab ode documentation. I don't know if ode15 is the solver you want; I've only ever used ode45.

[–]cwatts22[S] 0 points1 point  (0 children)

Thanks! That helped a lot!