Foldnormpdf

Definition

foldnormpdf (X,mu,sigma) returns the probability density function at each of the values in X using the folded normal distribution with mean mu and standard deviation sigma.

f(x|\mu ,\sigma) = \frac{1}{ \sqrt{ 2 \pi } \sigma} e^{ - \frac{(x - \mu)^2}{ 2 \sigma^2 } } + \frac{1}{ \sqrt{ 2 \pi } \sigma} e^{ - \frac{(x + \mu)^2}{ 2 \sigma^2 } }, x \geqslant 0, \; \sigma > 0

Parameters

x (input, double)
x >= 0
mu (input, double)
mean of the associated folded normal distribution .
sigma(input, double)
standard deviation of the associated folded normal distribution.

See Also

normpdf