The following functions are associated with the uniform equation:
• dunif(x, a, b)—Returns the probability density for value x.
• punif(x, a, b)—Returns the cumulative probability distribution for value x.
• qunif(p, a, b)—Returns the inverse cumulative probability distribution for probability p.
• runif(m, a, b)—Returns a vector of m random numbers having the uniform distribution.
• rnd(x)—Returns a uniformly distributed random number between 0 and x.
Arguments
• x is a scalar or vector of real values, a ≤ x ≤ b. To allow integration and other operations over this argument, values outside of the stated range are allowed, but they produce a 0 result.