Error Function Erf Matlab
Contents |
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples inverse erf matlab Functions Release Notes PDF Documentation Mathematics Elementary Math Special Functions MATLAB
Fit Erf Matlab
Functions erf On this page Syntax Description Examples Find Error Function Find Cumulative Distribution Function of Normal Distribution excel error function erf Calculate Solution of Heat Equation with Initial Condition Input Arguments x More About Error Function Tall Array Support Tips See Also This is machine translation Translated by Mouse
Erf Error Function Ti-89
over text to see original. Click the button below to return to the English verison of the page. Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English Estonian Finnish French German Greek Haitian Creole Hindi Hmong Daw Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Malay Maltese Norwegian q function erf Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of this page is provided by a general purpose third party translator tool. MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation. Translate erfError functioncollapse all in page Syntaxerf(x) exampleDescriptionexampleerf(x
) returns the Error Function evaluated for each element of x.Examplescollapse allFind Error FunctionOpen ScriptFind the error function of a value.erf(0.76) ans = 0.7175 Find the error function of the elements of a vector.V = [-0.5 0 1 0.72]; erf(V) ans = -0.5205 0 0.8427 0.6914 Find the error function of the elements of a matrix.M = [0.29 -0.11; 3.1 -2.9]; erf(M) ans = 0.3183 -0.1236 1.0000 -1.0000 Find Cumulative Distribution Function of Normal DistributionOpen ScriptThe cumulative distribution function (CDF) of the normal, or Gaussian, distribution with standard deviation and mean is Note that for increased computational accuracy, you can rewrite the formula in terms of erfc . For detai
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples Functions Release Notes
Normal Distribution Erf
PDF Documentation Mathematics Elementary Math Special Functions MATLAB Functions erf On this
Gaussian Erf
page Syntax Description Examples Find Error Function Find Cumulative Distribution Function of Normal Distribution Calculate Solution of Heat mathematica erf Equation with Initial Condition Input Arguments x More About Error Function Tall Array Support Tips See Also This is machine translation Translated by Mouse over text to see original. https://www.mathworks.com/help/matlab/ref/erf.html Click the button below to return to the English verison of the page. Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English Estonian Finnish French German Greek Haitian Creole Hindi Hmong Daw Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Malay Maltese Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish http://au.mathworks.com/help/matlab/ref/erf.html Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of this page is provided by a general purpose third party translator tool. MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation. Translate erfError functioncollapse all in page Syntaxerf(x) exampleDescriptionexampleerf(x
) returns the Error Function evaluated for each element of x.Examplescollapse allFind Error FunctionOpen ScriptFind the error function of a value.erf(0.76) ans = 0.7175 Find the error function of the elements of a vector.V = [-0.5 0 1 0.72]; erf(V) ans = -0.5205 0 0.8427 0.6914 Find the error function of the elements of a matrix.M = [0.29 -0.11; 3.1 -2.9]; erf(M) ans = 0.3183 -0.1236 1.0000 -1.0000 Find Cumulative Distribution Function of Normal DistributionOpen ScriptThe cumulative distribution function (CDF) of the normal, or Gaussian, distribution with standard deviation and mean is Note that for increased computational accuracy, you can rewrite the formula in terms of erfc . For details, see Tips.Plot the CDF of the normal distribution with and .x = -3:0.1:3; y =
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation https://www.mathworks.com/help/matlab/ref/erfc.html Support Documentation Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples Functions Release Notes PDF Documentation Mathematics Elementary Math Special Functions http://cens.ioc.ee/local/man/matlab/techdoc/ref/erf.html MATLAB Functions erfc On this page Syntax Description Examples Find Complementary Error Function Find Bit Error Rate of Binary Phase-Shift Keying Avoid error function Roundoff Errors Using Complementary Error Function Input Arguments x More About Complementary Error Function Tall Array Support Tips See Also This is machine translation Translated by Mouse over text to see original. Click the button below to return to the English verison of the page. error function erf Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English Estonian Finnish French German Greek Haitian Creole Hindi Hmong Daw Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Malay Maltese Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of this page is provided by a general purpose third party translator tool. MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation. Translate erfcComplementary error functioncollapse all in page Syntaxerfc(x) exampleDescriptionexampleerfc(x
) returns the Complementary Error Function evaluated for each element of x. Use the erfc function to replace 1 - erf(x) for greater accuracy when erf(x) is close to 1.Examplescollapse allFind Complementary Er
X = erfinv(Y) Inverse of the error function Definition The error function erf(X) is twice the integral of the Gaussian distribution with 0 mean and variance of:
The complementary error function erfc(X) is defined as: The scaled complementary error function erfcx(X) is defined as: For large X, erfcx(X) is approximately . Description Y = erf(X) returns the value of the error function for each element of real array X. Y = erfc(X) computes the value of the complementary error function. Y = erfcx(X) computes the value of the scaled complementary error function. X = erfinv(Y) returns the value of the inverse error function for each element of Y. The elements of Y must fall within the domain Examples erfinv(1) is Inf erfinv(-1) is -Inf. For abs(Y) > 1, erfinv(Y) is NaN. Remarks The relationship between the error function and the standard normal probability distribution is: x = -5:0.1:5; standard_normal_cdf = (1 + (erf(x/sqrt(2))))./2; Algorithms For the error functions, the MATLAB code is a translation of a Fortran program by W. J. Cody, Argonne National Laboratory, NETLIB/SPECFUN, March 19, 1990. The main computation evaluates near-minimax rational approximations from [1]. For the inverse of the error function, rational approximations accurate to approximately six significant digits are used to generate an initial approximation, which is then improved to full accuracy by two steps of Newton's method. The M-file is easily modified to eliminate the Newton improvement. The resulting code is about three times faster in execution, but is considerably less accurate. References [1] Cody, W. J., "Rational Chebyshev Approximations for the Error Function," Math. Comp., pgs. 631-638, 1969 [ Previous | Help Desk | Next ]