pdfexp¶
Purpose¶
Computes the probability density function for the exponential distribution.
Format¶
-
p =
pdfexp
(x, a, b)¶ - Parameters
x (NxK matrix, Nx1 vector or scalar) – x must be greater than a.
a (NxK matrix, Nx1 vector or scalar) – Location parameter. ExE conformable with x.
b (scalar) – the scale parameter. sometimes called beta. b must be greater than 0.
- Returns
p (NxK matrix, Nx1 vector or scalar) – the probability density function for the exponential distribution for the elements in x.