Exponential Moving Average Sampled at Varying Times
This answer based on my good understanding of low-pass filters (“exponential moving average” is really just a single-pole lowpass filter), but my hazy understanding of what you’re looking for. I think the following is what you want: First, you can simplify your equation a little bit (looks more complicated but it’s easier in code). I’m … Read more