This is machine translation

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

ProbDist class

Object representing probability distribution


ProbDist will be removed in a future release. To create and fit probability distribution objects, use makedist and fitdist instead.


ProbDist is an abstract class representing a probability distribution.


ProbDist is an abstract class. You cannot create instances of this class directly. You can construct an object in a subclass, such as ProbDistUnivParam or ProbDistUnivKernel, by calling the subclass constructors (ProbDistUnivParam or ProbDistUnivKernel).


cdfReturn cumulative distribution function (CDF) for ProbDist object
pdfReturn probability density function (PDF) for ProbDist object
randomGenerate random number drawn from ProbDist object


DistNameRead-only probability distribution name of ProbDist object
InputDataRead-only structure containing information about input data to ProbDist object
SupportRead-only structure containing information about support of ProbDist object

Copy Semantics

Value. To learn how this affects your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.

Was this topic helpful?