You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The driven harmonic oscillator with linear damping is a model for a multitude of phenomena. But the simplest mechanical oscillators are damped by air drag quite nonlinear in velocity. This script performs a numerical study of a harmonic oscillator subject to a harmonic external force and to a drag force quadratic in speed approximating air drag. The resonance height and shape compare well with a linear model adjusted to have an amplitude-dependent width. The script may be readily modified to study other nonlinear resonance phenomena and may interest physics and engineering students and instructors encountering nonlinear air drag in laboratory experiments or analytic explorations using perturbation theory in intermediate-level mechanics. Try this suggestions are included for further exploration.
Cite As
Duncan Carlsmith (2026). Nonlinearly-damped oscillator simulation (https://au.mathworks.com/matlabcentral/fileexchange/125885-nonlinearly-damped-oscillator-simulation), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.01 (6.35 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
