HARMFIT: Sinusoidal harmonic curve fitting
Version 1.1.0.0 (2,67 ko) par
François Beauducel
Computes harmonics of a phase signal
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.
Citation pour cette source
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. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Curve Fitting Toolbox dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | fix and minor improvements |
||
1.0.0.0 |