Member of the advanced class.
y = erfc(x)
Computes the complementary error function associated with a normal distribution. For all real x, erfc(x) = 1-erf(x).
| Name | Description |
| x | Specifies the upper limit for integration. x is a real scalar, vector, or matrix. |
| Name | Description |
| y | Returns the value of the complementary error function on [0, x). |
% Compute the complementary error function at 1.386:
Y = erfc(1.386)
% Plot the complementary error function:
X = 0:0.01:3;
Y = erfc(X);
plot(X, Y)