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)
引用格式
Patrik Forssén (2024). Fast Empirical CDF (https://www.mathworks.com/matlabcentral/fileexchange/114990-fast-empirical-cdf), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |