image thumbnail

Four-Parameter Sinefit

version 2.0.0.0 (6.58 KB) by Marko Neitola
Least squares sinusoid fit.

3.2K Downloads

Updated 04 Jan 2019

View License

IEEE Standard for Digitizing Waveform Recorders (IEEE Std 1057): Algorithm for least squares fit to sinewave data using matrix operations:
- three-parameter (known frequency, non-iterative) and
- four-parameter (general use, find frequency iteratively).

Added features:
- Complex sinusoid fit enabled.
- Alternative 4-parameter fit by using the function fminbnd.

Cite As

Marko Neitola (2021). Four-Parameter Sinefit (https://www.mathworks.com/matlabcentral/fileexchange/23214-four-parameter-sinefit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!