ode45 - Di erential Equation Solver
www.math.purdue.edu › 2005spring › MA266The syntax for ode45 for rst order di erential equations and that for second order di erential equations are basically the same. However, the .m les are quite di erent. I. First Order Equations (y0= f(t;y) y(t 0)=y 0 A. Create a .m le for f(t;y) (see the tutorial on numerical methods and m les on how to do this). Save le as, for example, yp.m .