Hampel filter in C++

Detect and replace outliers in a signal.
1.1K Downloads
Updated 4 Feb 2013

View License

This function returns the Hampel filtered values of input data. This function is identical to
http://www.mathworks.se/matlabcentral/fileexchange/34795-outlier-detection-and-removal-hampel
, except that this implementation is in C++/mex and is significantly faster, especially for large datasets. One other difference is that the window width in this implementation is specified as a number of points, and not as an absolute width in for instance time.

Cite As

Ivar Eskerud Smith (2024). Hampel filter in C++ (https://www.mathworks.com/matlabcentral/fileexchange/40147-hampel-filter-in-c), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Outlier Detection and Removal [hampel]

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0