cdfUniform

Syntax

cdfUniform(lower, upper, X)

Arguments

lower and upper are numeric scalars indicating the lower bound and upper bound of a continuous uniform distribution.

X is a numeric scalar or vector.

Details

Return the value of the cumulative distribution function of a continuous uniform distribution.

Examples

$ cdfUniform(0.627, 2.31, [0.001, 0.5, 0.999]);
[0, 0, 0.221034]

$ cdfUniform(0.627, 2.31, [0.1, 0.3, 0.5, 0.7, 0.9]);
[0, 0, 0, 0.043375, 0.16221]