3.5.3.2.6 Gampdf

Definition

Y = gampdf(X,a,b) computes the gamma probability density function at each of the values in X using the corresponding shape parameters in a and scale parameters in b.

f(x|a,b)=\frac 1{b^a\Gamma (a)}x^{a-1}e^{\frac{-x}b}

Parameters

x (input, double)
x > 0
a (input, double)
shape parameter a >0.
b (input, double)
scale parameter b >0.

See Also

Cauchypdf, exppdf, Lappdf, Lognpdf, Normpdf, Poisspdf