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