Function Reference: normpdf

statistics: y = normpdf (x)
statistics: y = normpdf (x, mu)
statistics: y = (x, mu, sigma)

Normal probability density function (PDF).

For each element of x, compute the probability density function (PDF) at x of the normal distribution with mean mu and standard deviation sigma. The size of p is the common size of p, mu and sigma. A scalar input functions as a constant matrix of the same size as the other inputs.

Default values are mu = 0, sigma = 1.

See also: norminv, norminv, normrnd, normfit, normlike, normstat

Source Code: normpdf