This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Triangular Distribution

Evaluate and generate random samples from triangular distribution


makedistCreate probability distribution object
cdfCumulative distribution function
icdfInverse cumulative distribution function
iqrInterquartile range
meanMean of probability distribution
medianMedian of probability distribution
pdfProbability density function
randomRandom numbers
stdStandard deviation of probability distribution
truncateTruncate probability distribution object
varVariance of probability distribution


TriangularDistributionTriangular probability distribution object


Triangular Distribution

The triangular distribution provides a simplistic representation of the probability distribution when limited sample data is available.

Generate Random Numbers Using the Triangular Distribution

This example shows how to create a triangular probability distribution object based on sample data, and generate random numbers for use in a simulation.

Nonparametric and Empirical Probability Distributions

Estimate a probability density function or a cumulative distribution function from sample data.