On 4/8/2013 7:15 PM, Mark Rossi wrote: > Having a lot of trouble understanding how matlab solves second-order ODE's. >I have a relatively simple mass spring damper problem, but for the life of >me I can't wrap my head around what .m files to write. Any help would be appreciated. >

need to write the 2nd ode as 2, first order ode's. Then use ode45. many examples on the net.