Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: ode45 mass spring damper solution
Posted:
Apr 9, 2013 4:32 AM


"Mark Rossi" <mr3bn@virginia.edu> wrote in message news:kjvmig$9m6$1@newscl01ah.mathworks.com... > Having a lot of trouble understanding how matlab solves secondorder > 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. >
Here's the massspring system worked out in detail. You should be able to go from there.
http://blogs.mathworks.com/loren/2010/03/25/solvingordinarydifferentialequations/
 Loren
http://blogs.mathworks.com/loren



