spring_ode_test, a MATLAB code which calls spring_ode(), which sets up a system of ordinary differential equations (ODE) for the motion of a spring with mass m, damping b, and stiffness k.
The computer code and data files described and made available on this web page are distributed under the MIT license
spring_ode, a MATLAB code which sets up a system of ordinary differential equations (ODE) for the motion of a spring with mass m, damping b, and stiffness k.