Statistics Toolbox    
normstat

Mean and variance for the normal distribution

Syntax

Description

[M,V] = normstat(MU,SIGMA) returns the mean and variance for the normal distribution with parameters MU and SIGMA. Vector or matrix inputs for MU and SIGMA must have the same size, which is also the size of M and V. A scalar input for MU or SIGMA is expanded to a constant matrix with the same dimensions as the other input.

The mean of the normal distribution with parameters µ and is µ, and the variance is 2.

Examples

See Also

normfit, normfit, norminv, normpdf, normplot, normrnd, normspec


  normspec pareto