rollstat( y, window, slide,funin)
Version 1.0.0.0 (4.15 KB) by
Carl Witthoft
Apply function to rolling window. Non-uniform sample spacings allowed
Unlike most rolling-window tools, rollstat accepts a time-series (or other sequence) of samples which are not necessarily equally spaced -- in fact multiple samples at a given x-value are allowed. The "window" and "slide" arguments are used to group the samples by the true time/distance window regardless of how many samples end up assigned to a given window. There's a default statistic function or the user can supply his own function.
Cite As
Carl Witthoft (2026). rollstat( y, window, slide,funin) (https://www.mathworks.com/matlabcentral/fileexchange/52553-rollstat-y-window-slide-funin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Measurements and Feature Extraction in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
