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


makedist Create probability distribution object
cdf Cumulative distribution functions
icdf Inverse cumulative distribution functions
iqr Interquartile range
mean Mean of probability distribution
median Median of probability distribution
pdf Probability density functions
random Random numbers
std Standard deviation of probability distribution
truncate Truncate probability distribution object
var Variance of probability distribution
unifcdf Continuous uniform cumulative distribution function
unifpdf Continuous uniform probability density function
unifinv Continuous uniform inverse cumulative distribution function
unifit Continuous uniform parameter estimates
unifstat Continuous uniform mean and variance
unifrnd Continuous uniform random numbers

Using Objects

UniformDistribution Uniform 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.


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?