[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Smoothing a roughly sinusoidal signal
From: |
Nir Krakauer |
Subject: |
Re: Smoothing a roughly sinusoidal signal |
Date: |
Thu, 7 Nov 2019 18:38:19 -0500 |
If you already know the period of the sinusoidal error, you can use
linear regression to find the amplitude and phase of the sinusoid, by
fitting the parameters a and b in the function a*sin(kt) + b*cos(kt)
using least squares. You can fit multiple sine waves with different
periods as long as all those period lengths are known. If the error
characteristics are slowly changing, you could fit the sinusoid
function(s) using only the most recent few cycles of data, or weight
recent data more heavily (e.g. exponentially weighted linear
regression).
- Re: Smoothing a roughly sinusoidal signal, (continued)
Smoothing a roughly sinusoidal signal, llrjt100, 2019/11/07
- Re: Smoothing a roughly sinusoidal signal, GoSim, 2019/11/07
- RE: Smoothing a roughly sinusoidal signal, Windhorn, Allen E [ACIM/LSA/MKT], 2019/11/07
- RE: Smoothing a roughly sinusoidal signal, llrjt100, 2019/11/07
- RE: Smoothing a roughly sinusoidal signal, Windhorn, Allen E [ACIM/LSA/MKT], 2019/11/07
- RE: Smoothing a roughly sinusoidal signal, llrjt100, 2019/11/07
- Re: Smoothing a roughly sinusoidal signal,
Nir Krakauer <=
- Re: Smoothing a roughly sinusoidal signal, llrjt100, 2019/11/08