HyperMath

NormPDF

NormPDF

Previous topic Next topic No expanding text in this topic  

NormPDF

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Generates a normal probability density function values at specified locations for given mean and standard deviation.

Syntax

PDF = NormPDF(Points, Mean, Std)

Arguments

Name

Description

 

Points

A scalar, vector, or matrix of points where the density function is to be evaluated.

 

Mean

Mean of the distribution.  A real scalar.

 

Std

Standard deviation of the distribution.  A positive real scalar.

Output

Name

Description

 

PDF

A scalar or vector of the density function values at the given points. The same size as Points.

Example

Find the normal probability density function at points 0, 2, and 3 for a mean of 1.5 and a standard deviation of 1:

 

Syntax

 

pdf = NormPDF([0,2,3],1.5,1)

 

Result

 

pdf =  0.1295    0.3521    0.1295

See Also:

UnifPDF

Probability Distributions