<< fdis_rnd Supplementary distibution functions gamm_rnd >>

Grocer >> Supplementary distibution functions > gamm_pdf

gamm_pdf

Gamma probability distribution

CALLING SEQUENCE

[f]=gamm_pdf(x,a)

PARAMETERS

Input

* x = variable matrix (nxm)

* a = a scalar or a (mxn) variable matrix

 

Output

* f = a vector of pdf at each element of x of the gamma(a) or of the gamma(corresponding element in a) distribution

DESCRIPTION

Returns the probability distribution function f at x of the gamma(a) distribution.

EXAMPLE

f=gamm_pdf([1:4],2)
// Calculates the gamma(2) probability distribution function at values 1, 2, 3 and 4 and store them in a (1x4) vector.
f=gamm_pdf([1:4],2*ones(1,4))
// Does exactly the same thing.

AUTHOR

Eric Dubois 2002

Report an issue
<< fdis_rnd Supplementary distibution functions gamm_rnd >>