|Date:||Wed, 13 Jul 2016 12:58:29 -0400|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1|
[sorry for repost: maybe my original post gave an impression that I am not asking seriously, but I think it's an important and frequent use case, so here it is again]
Often, I need to smooth/average a data vector. I usually do a running average using filter(), e.g. for 5-value average:
I've been doing this for years, so I got used to it even though I have to think a little every time I need to do again, but maybe there's a better way? What do y'all use?
By the way, sometimes I'd use a Savitzky-Golay peak/moment-preserving filter coefficients instead of a simple rectangular averaging window:
# Copyright (C) 1993 Przemek Klosowski ; licensed under GPL
|[Prev in Thread]||Current Thread||[Next in Thread]|