| Statistics Toolbox | Search  Help Desk |
| unifcdf | Examples |
Continuous uniform cumulative distribution function (cdf).
Syntax
P = unifcdf(X,A,B)
Description
unifcdf(X,A,B) computes the uniform cdf with parameters A and B at the values in X. The arguments X, A and B must all be the same size except that scalar arguments function as constant matrices of the common size of the other arguments. A and B are the minimum and maximum values respectively. The uniform cdf is:
Examples
What is the probability that an observation from a standard uniform distribution will be less than 0.75?probability = unifcdf(0.75)
probability =
0.7500
What is the probability that an observation from a uniform distribution with probability = unifcdf(0.75,-1,1)
probability =
0.8750