Documentation

ProbDist class

Object representing probability distribution

Compatibility

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

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

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?