Statistics Toolbox
  Go to function:
    Search    Help Desk 
pdf    Examples

Probability density function (pdf) for a specified distribution.

Syntax

Description

pdf('name',X,A1,A2,A3) returns a matrix of densities. 'name' is a string containing the name of the distribution. X is a matrix of values, and A1, A2, and A3 are matrices of distribution parameters. Depending on the distribution, some of the parameters may not be necessary.

The arguments X, A1, A2, and A3 must all be the same size except that scalar arguments function as constant matrices of the common size of the other arguments.

pdf is a utility routine allowing access to all the pdfs in the Statistics Toolbox using the name of the distribution as a parameter.

Examples



[ Previous | Help Desk | Next ]