Mass-Spring Oscillator
Version 1.0.0.0 (5.64 KB) by
Pedram Parchebafieh
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 LinuxCategories
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Find more on Ordinary Differential Equations in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |