Contents Previous Next Subchapters

The Complementary Error Function
Syntax erfc(x)
See Also erf , cnormal , ierf

Returns an element-by-element approximation of the complementary error function, where x is a real or double-precision matrix.

The complementary error function is defined by
                 inf    2
         2       /    -t
     ----------  |  e    dt
     sqrt(2 pi)  /
which is also equal to 1 - erf(x).

     x = 0. : .1 : 3. 
     gtitle("Complementary Error Function")
     gplot(x, erfc(x))

returns the following plot: