It can be any integer value.
On 9/8/15 10:06 PM, Alexandre Torres Porres wrote:
as long as we're on this, I don't know much about average filters, but is it common to have even sample average like 3-point / 5-point?
i was guessing there had to be at least even numbers, but now i have a different intuition
cheers
2015-09-09 2:00 GMT-03:00 Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com>:
I wasn't looking for this, but it's great to know it :) thanks! 2015-09-08 20:28 GMT-03:00 Christof Ressi <christof.ressi@gmx.at <mailto:christof.ressi@gmx.at>>: Hi, there's actually a nice and easy way of implementing a moving average filter of ANY length using only an integrator and a samplewise delay [z~]. The formular for a moving average filter of N points is simply: y[n] = (x[n] - x[n-N])/N + y[n-1]. I attached an abstraction. Not totally sure this is what you're looking for. Cheers _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list