Lappdf
Lappdf-func
Definition
returns the probability density function of the Laplace distribution with location parameter mu and scale parameter b, evaluated at the values in X.
![= \frac{1}{2b}
\left\{\begin{matrix}
\exp \left( -\frac{\mu-x}{b} \right) & \mbox{if }x < \mu
\\[8pt]
\exp \left( -\frac{x-\mu}{b} \right) & \mbox{if }x \geq \mu
\end{matrix}\right.
= \frac{1}{2b}
\left\{\begin{matrix}
\exp \left( -\frac{\mu-x}{b} \right) & \mbox{if }x < \mu
\\[8pt]
\exp \left( -\frac{x-\mu}{b} \right) & \mbox{if }x \geq \mu
\end{matrix}\right.](../images/Lappdf_(function)/math-a5a9b7eb31d29b76b9351919882b5ec3.png)
Parameters
- x (input, double)
-
- mu (input, double)
- location parameter
- b (input, double)
- scale parameter
.
See Also
Cauchypdf,
exppdf,
gampdf,
Lognpdf,
Normpdf,
Poisspdf