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

erf(0.76)

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

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

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

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

% Copyright 2015 The MathWorks, Inc.