Mass-Spring Oscillator

This program solve the equation mX``+bX`+kX=F and plot x(t),v(t) and phase diagram
3.7K Downloads
Updated 6 Jun 2006

No License

Editor's Note: You must enter m=mass ,b=damping constant ,k=spring constant ,initial values and time span.whereas,I entered them as a sample note that F=f(t).

You must enter m=mass ,b=damping constant ,k=spring constant ,initial values and time span.whereas,I entered them as a sample
note that F=f(t).

Cite As

Pedram Parchebafieh (2026). Mass-Spring Oscillator (https://www.mathworks.com/matlabcentral/fileexchange/11303-mass-spring-oscillator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0