Grocer Function

NAME

gamm_pdf - Gamma probability distribution

CALLING SEQUENCE

[f]=gamm_pdf(x,a)

PARAMETERS

Input

Output

DESCRIPTION

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

EXAMPLES

1) f=gamm_pdf([1:4],2)
2) f=gamm_pdf([1:4],2*ones(1,4))

Examples 1 and 2 do the same thing: calculate the gamma(2) probability distribution function at values 1, 2, 3 and 4 and store them in a (1x4) vector.

AUTHOR

Eric Dubois 2002