Main Content

Uniform Distribution (Discrete)

Evaluate the discrete uniform distribution or its inverse, generate pseudorandom samples


unidcdfDiscrete uniform cumulative distribution function
unidpdfDiscrete uniform probability density function
unidinvDiscrete uniform inverse cumulative distribution function
unidstatDiscrete uniform mean and variance
unidrnd Random numbers from discrete uniform distribution
randomRandom numbers


Uniform Distribution (Discrete)

The discrete uniform distribution is a simple distribution that puts equal weight on the integers from one to N.