HARMFIT: Sinusoidal harmonic curve fitting

Computes harmonics of a phase signal
1,3K download
Aggiornato 22 mar 2024

Visualizza la licenza

This is the core formula of discrete Fourier transform: it simply computes the amplitude and phase shift of fundamental or harmonics of a phase signal.
Example:
t = linspace(0,2*pi);
x = 2*cos(t + pi/2) - cos(3*t) + rand(size(t));
harmfit(t,x,1:4)
returns estimations of amplitudes/phases for the first four harmonics.

Cita come

François Beauducel (2024). HARMFIT: Sinusoidal harmonic curve fitting (https://www.mathworks.com/matlabcentral/fileexchange/46736-harmfit-sinusoidal-harmonic-curve-fitting), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Curve Fitting Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

fix and minor improvements

1.0.0.0