Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Uniform Distribution (Continuous)

Evaluate and generate random samples from continuous uniform distribution

Functions

makedistCreate probability distribution object
cdfCumulative distribution functions
icdfInverse cumulative distribution functions
iqrInterquartile range
meanMean of probability distribution
medianMedian of probability distribution
pdfProbability density functions
randomRandom numbers
stdStandard deviation of probability distribution
truncateTruncate probability distribution object
varVariance of probability distribution
unifcdfContinuous uniform cumulative distribution function
unifpdfContinuous uniform probability density function
unifinvContinuous uniform inverse cumulative distribution function
unifitContinuous uniform parameter estimates
unifstatContinuous uniform mean and variance
unifrndContinuous uniform random numbers

Using Objects

UniformDistributionUniform probability distribution object

Examples and How To

Generate Random Numbers Using Uniform Distribution Inversion

This example shows how to generate random numbers using the uniform distribution inversion method.

Concepts

Uniform Distribution (Continuous)

The uniform distribution (also called the rectangular distribution) is notable because it has a constant probability distribution function between its two bounding parameters.

Was this topic helpful?