Fit a damped sine wave

The function fits a damped sinewave to given (sampled) data.
1,1K Downloads
Aktualisiert 7. Mai 2015

Lizenz anzeigen

The function 'fit_damped_sinewave' fits a sequence
sigr(k)= Ar*exp(alphar*k) * cos(wr*k+phr), k=0..n-1
to a given sequence 'sig' .

The function determines the
Amplitude Ar, damping factor alphar, frequency wr and phase phr.
The function uses linear Algebra to find the parameters.

Zitieren als

Detlef Amberg (2024). Fit a damped sine wave (https://www.mathworks.com/matlabcentral/fileexchange/50756-fit-a-damped-sine-wave), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2007b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Calculation of amplitude/damping adjusted.

1.0.0.0