%% Find Complementary Error Function
% Find the complementary error function of a value.

erfc(0.35)

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

V = [-0.5 0 1 0.72];
erfc(V)

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

M = [0.29 -0.11; 3.1 -2.9];
erfc(M)

% Copyright 2015 The MathWorks, Inc.