HARMFIT: Sinusoidal harmonic curve fitting
Version 1.1.0.0 (2,67 KB) von
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.
Zitieren als
François Beauducel (2026). HARMFIT: Sinusoidal harmonic curve fitting (https://de.mathworks.com/matlabcentral/fileexchange/46736-harmfit-sinusoidal-harmonic-curve-fitting), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Curve Fitting Toolbox finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | fix and minor improvements |
||
| 1.0.0.0 |
