AVR-Programming icon indicating copy to clipboard operation
AVR-Programming copied to clipboard

EWMA Questions

Open willie-shen opened this issue 1 year ago • 0 comments

I just wanted to ask, how do I go from

16y(t) = x(t) + 15y(t-1)

to

16y(t) = x(t) + 16y(t-1) - (16(y(t-1)-16/2)/16

My understanding is that if I apply the correction factor for rounding, wouldn't it be

16y(t) = x(t) + 15y(t-1) + 8

willie-shen avatar Aug 18 '24 05:08 willie-shen