Fast Empirical CDF

Fast calculation of an empirical Cumulative Distribution Function (CDF).
26 Downloads
Updated 13 Jul 2022

View License

Small routine to calculate an empirical Cumulative Distribution Function (CDF). Faster than MATLAB's ecdf function and no toolboxes required.
Example:
x = -5 + 0.2*randn(1e6, 1);
[F, xF] = ecdfCalc(x);
plot(xF, F)

Cite As

Patrik Forssén (2024). Fast Empirical CDF (https://www.mathworks.com/matlabcentral/fileexchange/114990-fast-empirical-cdf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
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!
Version Published Release Notes
1.0.0