[f, x] = ecdf(y)
[f, x] = ecdf(y, Name, Value)
[f, x, flo, fup] = ecdf(...)
ecdf(...)
ecdf(ax, ...)
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.
y = [3 1 2 2];
[f, x] = ecdf(y)
| Version | Description |
|---|---|
| 2.0.0 | initial version |