Summarizes data using a sliding window without loops

This function is extremely fast calculating a sum, mean, etc, using no loops.

Download
Download

You are now following this Submission

Cite As

Jeff Burkey (2026). Summarizes data using a sliding window without loops (https://in.mathworks.com/matlabcentral/fileexchange/29029-summarizes-data-using-a-sliding-window-without-loops), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

Based on comments received, I've modified the routine to use CONV where applicable.

Download
1.2.0

One more update. I changed the memory test to be an exact solution using an error trap instead of guessing needed space. Again thanks to Kevin and Rob for making me think about it some more.

Download
1.1.0

Improved function to use less memory.

Download
1.0.0

Download