erf
erf(X) returns the error function for each element of X.
Examples
> erf(0.2)# 0.222703
> erf(1:4)# 0.842701 0.995322 0.999978 1
> x = -2:0.1:2 [x:1x41 double] > plot(x, erf(x)) [ans:1x1 struct]
> erf(0.2)# 0.222703
> erf(1:4)# 0.842701 0.995322 0.999978 1
> x = -2:0.1:2 [x:1x41 double] > plot(x, erf(x)) [ans:1x1 struct]