image thumbnail

updated 2 years ago

Four-Parameter Sinefit by Marko Neitola

Least squares sinusoid fit. Optimization toolbox not needed. Data can be non-uniformly sampled. (leastsquares, sinusoid, fit)

sinefit(varargin)

image thumbnail

updated 11 years ago

SineFit by YangQuan Chen

Extract sine frequency/amplitude/phase of a noisy sinusoidal signal. (approximation, interpolation, ls fitting)

[Ahat,Theta,Omega,RMS]=sinefit(s0,Testim,t0,Ts)

[Ahat,Theta,RMS]=sinefit2(s0,omega,t0,Ts)

y=jomega(x,s0,t0,Ts)

Contact us