Continuous uniform probability density function
unifpdf
is a function specific to the continuous uniform
distribution. Statistics and Machine Learning Toolbox™ also offers the generic function pdf
, which supports various probability distributions. To use
pdf
, create a UniformDistribution
probability distribution object and pass the object as
an input argument or specify the probability distribution name and its parameters. Note
that the distribution-specific function unifpdf
is faster than
the generic function pdf
.
Use the Probability Distribution Function app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.