Fitting Sinusoidal Signal with LsqFit

You could use the FFT to obtain a good initial guess of the sinusoidal frequency. See one such LsqFit example here.

3 Likes