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).
Cita come
Eike Petersen (2024). movquant (https://www.mathworks.com/matlabcentral/fileexchange/84200-movquant), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.