Winsorize data

(using PRCTILE)
4.7K Downloads
Updated 4 Apr 2016

View License

Function WINSOR inputs data vector x and 2*1 vector of cut-off percentiles p, and replaces non-NaN values of x that are below percentile p(1) with the smallest remaining value, and x-values above percentile p(2) with the largest remaining value. Percentiles are computed with PRCTILE of Statistics Toolbox.

Cite As

Dimitri Shvorob (2024). Winsorize data (https://www.mathworks.com/matlabcentral/fileexchange/14740-winsorize-data), MATLAB Central File Exchange. Retrieved .

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

Inspired: JuGEx - Julich-Brain Gene Expression

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

BSD