%% Find Scaled Complementary Error Function

erfcx(5)

%
% Find the scaled complementary error function of the elements of a vector.

V = [-Inf -1 0 1 10 Inf];
erfcx(V)

%
% Find the scaled complementary error function of the elements of a matrix.

M = [-0.5 15; 3.2 1];
erfcx(M)

% Copyright 2015 The MathWorks, Inc.