ODE solvers - why is Matlab ode45 uncannily stable?

Your right-hand-side is implemented in Matlab, and it needs to be called multiple times per step, so that is generally the limiting factor in the speed for Matlab ODEs.

4 Likes