Fast moving average (Scripts) Publisher's description
from Christian Kothe
In terms of behavior, this is an alternative to filter()
In terms of behavior, this is an alternative to filter() for a moving-average kernel, except that it is faster. The speed does not depend on the filter length.
The code uses a variant of the cumsum-trick, although not the "garden variety" but in a way that does not run into numerical issues for long data arrays.
System Requirements:MATLAB 7.13 (2011b)
Program Release Status: New Release
Program Install Support: Install and Uninstall