Grocer Function
NAME
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.
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