Stochastic Resonance in the Duffing Oscillator with MATLAB

Compute and plot SNR vs. noise strength for the double-well Duffing oscillator.
1.8K Downloads
Updated 14 Oct 2013

View License

Numerically solve the driven, damped, duffing oscillator with noise.

It computes the averaged signal and noise amplitude spectra for varying noise strength. Plots the signal-to-noise ratio vs. noise strength and time-series, phase space, well occupation distributions, and amplitude spectra for four chosen noise strengths.

Instead of modeling the random noise so that the differential equation is stochastic, the noise is treated analytically as a finite Fourier series, where the frequency and phase are random, and the noise type depends on the frequency dependent amplitude function.

This is not the most efficient way numerically, but allows one to calculate analytic results.

Can be easily modified for any second-order differential equation.

Cite As

Robert Ralich (2024). Stochastic Resonance in the Duffing Oscillator with MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/35479-stochastic-resonance-in-the-duffing-oscillator-with-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Marine and Underwater Vehicles in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Added more information in the description.

1.0.0.0