ProbDist class

Object representing probability distribution

Description

ProbDist is an abstract class representing a probability distribution.

Construction

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, either by calling the subclass constructors (ProbDistUnivParam or ProbDistUnivKernel) or by using the fitdist function.

Methods

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

Properties

DistNameRead-only string containing 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?