Normpdf

Definition

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

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

Parameters

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

The standard normal distribution has µ = 0 and σ = 1.

See Also

Cauchypdf, exppdf, gampdf, Lappdf, Lognpdf, Poisspdf