Nonlinearly-damped oscillator simulation
Version 1.0.1 (6,35 MB) von
Duncan Carlsmith
Simulates a driven harmonic oscillator with nonlinear damping and compares results to a resonance model with amplitude-dependent width.
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.
Zitieren als
Duncan Carlsmith (2024). Nonlinearly-damped oscillator simulation (https://www.mathworks.com/matlabcentral/fileexchange/125885-nonlinearly-damped-oscillator-simulation), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2022b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
NonlinearlyDampedOscillator
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | More flexible plotting selection. Added frequency shift with amplitude. |
||
1.0.0 |