In this simulation, users can change the mass, m, on a spring with spring constant,k, damping coefficient, b, and sinusoidal driver with amplitude, A, and frequency,w, and see the position described by mx''(t)+bx'(t)+kx(t)=Acos(wt). The user can also click on the phase portrait to see a graph of position versus velocity.
Crista Arangala (2021). Forced Oscillator with Dampening (https://www.mathworks.com/matlabcentral/fileexchange/64747-forced-oscillator-with-dampening), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!