MovingOperator
MovingOperator allows to apply any function on the chosen periodicity (weekly, monthly, yearly). It will for example be able to calculate the historical monthly sums of a given time series of daily data.
This function can also be especially useful in order to change the frequency of financial returns from a frequency to another (eg daily to monthly).
MovingOperator is also compatible to be used with anonymous functions.
Cite As
Emilien (2024). MovingOperator (https://www.mathworks.com/matlabcentral/fileexchange/46857-movingoperator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.