Owning Class: advanced
Requires: MathScript RT Module
y = erfc_scale(x)
Legacy Name: erfcx
Computes the scaled complementary error function associated with a normal distribution. For all real x, erfc_scale(x) = exp(x^2)*erfc(x).
| Name | Description |
|---|---|
| x | Specifies error function values. x is a real scalar, vector, or matrix. |
| Name | Description |
|---|---|
| y | Returns the scaled value of the complementary error function of x. |
% Compute the scaled complementary error function at 1.386:
Y = erfc_scale(1.386)
% Plot the scaled complementary error function:
X = 0:0.01:3;
Y = erfc_scale(X);
plot(X, Y)