Section: Mathematical Functions
erf
function takes only a single argument
y = erf(x)
where x is either a float or double array. The output
vector y is the same size (and type) as x.
and is the integral of the normal distribution.
[-5,5].
--> x = linspace(-5,5);
--> y = erf(x);
--> plot(x,y); xlabel('x'); ylabel('erf(x)');
which results in the following plot.