Accelerating the pace of engineering and science

# erfc

Complementary error function

Y = erfc(X)

## Definitions

The complementary error function erfc(X) is defined as

$\begin{array}{c}\text{erfc}\left(x\right)=\frac{2}{\sqrt{\pi }}{\int }_{x}^{\infty }{e}^{-{t}^{2}}dt\\ =1-\text{erf}\left(x\right)\end{array}$

## Description

Y = erfc(X) computes the value of the complementary error function.

$\text{normcdf}\left(x\right)=\left(\frac{1}{2}\right)×\text{erfc}\left(\frac{-x}{\sqrt{2}}\right)$