3.5.3.2.11 Lappdf
Definition
returns the probability density function of the Laplace distribution with location parameter mu and scale parameter b, evaluated at the values in X.
Parameters
- x (input, double)
- mu (input, double)
- location parameter
- b (input, double)
- scale parameter
.
![= \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.](/labtalk/en/images/Lappdf_(function)/math-a5a9b7eb31d29b76b9351919882b5ec3.png?v=0)