Contents Previous Next Subchapters

The Cumulative Normal Distribution Function
Syntax cnormal(x)
See Also inormal , snormal , erf

Description
Returns the element-by-element cumulative normal distribution
                  x    2
         1      /   -t  / 2
     ---------- |  e         dt
     sqrt(2 pi) /
                 -inf
where x is a real or double-precision matrix.

Example
     x = [-5. : .1 : +5.]
     gplot(x, cnormal(x))
     gtitle("Cumulative Normal Distribution")
     
returns the following plot: