| Statistics Toolbox | ![]() |
Normal probability density function (pdf)
Syntax
Description
normpdf(X,MU,SIGMA)
computes the normal pdf at each of the values in X using the corresponding parameters in MU and SIGMA. Vector or matrix inputs for X, MU, and SIGMA must all have the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other inputs. The parameters in SIGMA must be positive.
The likelihood function is the pdf viewed as a function of the parameters. Maximum likelihood estimators (MLEs) are the values of the parameters that maximize the likelihood function for a fixed value of x.
The standard normal distribution has µ = 0 and
= 1.
If x is standard normal, then x
+ µ is also normal with mean µ and standard deviation
. Conversely, if y is normal with mean µ and standard deviation
, then x = (y-µ) /
is standard normal.
Examples
See Also
mvnpdf, normfit, norminv, normplot, normrnd, normspec, normstat, pdf
| normlike | normplot | ![]() |