ecdf
Empirical cumulative distribution function.
📝Syntax
[f, x] = ecdf(y)
[f, x] = ecdf(y, Name, Value)
[f, x, flo, fup] = ecdf(...)
ecdf(...)
ecdf(ax, ...)
📄Description

ecdf computes empirical distribution values from sample data.

Name-value arguments include Function, Censoring, Frequency, Alpha, and Bounds. Supported function types are cdf, survivor, and cumhazard. Bounds can be on or off for plotting.

💡Examples
y = [3 1 2 2];
[f, x] = ecdf(y)
🔗See Also
kstestksdensity
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub