FUNCTION REFERENCE

prob.UniformDistribution

Continuous uniform probability distribution object returned by makedist('Uniform', ...).

Continuous uniform probability distribution object returned by makedist('Uniform', ...).

Syntax

pd = makedist('Uniform', 'lower', a, 'upper', b)

Stores lower and upper endpoint parameters. Supports pdf, cdf, icdf, random, mean, std, var, median, paramci and negloglik.

Example

pd = makedist('Uniform', 'lower', 0, 'upper', 2); class(pd)   % 'prob.UniformDistribution'

Differences from MATLAB: fitdist does not fit Uniform. Truncation via truncate() is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.