erf

Returns the error function of x.

Syntax

erf(x)

Inputs

x
Any scalar or real matrix.
Type: double | integer
Dimension: scalar | matrix

Outputs

R

Example

Simple erf example:

erf([0.3, -0.01, 1.1;-0.3, 1, 2])
R = [ 0.328627 -0.0112834 0.880205 ; -0.328627 0.842701 0.995322 ]