movquant

version 1.0.1 (3.23 KB) by Eike Petersen
Moving Quantile calculation

48 Downloads

Updated 11 Dec 2020

View License

The equivalent of medfilt1 (p=0.5) , movmax (p=1) and movmin (p=0), but for arbitrary quantiles p.

Interface and behavior are designed to conform to the functions mentioned above.

Works in arbitrarily many dimensions, with NaNs and two different padding modes.

Could be sped up by implementing things in C; I believe in Matlab there's not much left to gain. medfilt1 runs about 50-80x faster for p=0.5.

A few test cases are included for verification purposes; these require the Signal Processing toolbox to be present (but are irrelevant for using the file).

Cite As

Eike Petersen (2022). movquant (https://www.mathworks.com/matlabcentral/fileexchange/84200-movquant), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!