FUNCTION REFERENCE
gampdf
Gamma probability density function.
Gamma probability density function.
Syntax
Y = gampdf(X, A, B)Evaluates the probability density of the gamma distribution with shape A > 0 and SCALE B > 0 (default 1) at X. Parameters without a default are required. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size. Parameters outside their domain give NaN; NaN inputs give NaN.
Example
gampdf(2, 3, 1)These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.