Matlab Error Function Example
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 Functions Release Notes PDF Documentation Mathematics Elementary erf function matlab Math Special Functions MATLAB Functions erf On this page Syntax Description Examples error matlab Find Error Function Find Cumulative Distribution Function of Normal Distribution Calculate Solution of Heat Equation with Initial Condition Input Arguments complementary error function x More About 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
Erfc Matlab
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 Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of error function calculator 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 = (1/2)*(1+erf(x/sqrt(2))); plot(x,y) grid on title('CDF of normal distribution with \mu = 0 and \sigma = 1') xlabel('x') ylabel('CDF') Calculate Solution of Heat Equation with Initial
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation error function table Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples
Inverse Error Function
Functions Release Notes PDF Documentation Programming Scripts and Functions Functions Error Handling MATLAB Functions
Erf(2/sqrt(2))
error On this page Syntax Description Examples Throw Error Throw Error with Formatted Message Throw Error Using Structure Related Examples Input Arguments msg msgID https://www.mathworks.com/help/matlab/ref/erf.html A1,...,An errorStruct More About 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. Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional https://www.mathworks.com/help/matlab/ref/error.html 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 errorThrow error and display messagecollapse all in page Syntaxerror(msg) exampleerror(msg,A1,...,An)error(msgID,___)error(errorStruct) exampleDescription exampleerror(msg
) throws an error and displays an error message. error(msg
,A1,...,An) displays an error message that contains formatting conversion characters, such as those used with the MATLAB® sprintf function. Each conversion character in msg is converted to one of the values A1,...,An. error(msgID
,___) includes an error identifier on
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home Symbolic Math Toolbox https://www.mathworks.com/help/symbolic/erfc.html Examples Functions and Other Reference Release Notes PDF Documentation Mathematics Mathematical Functions Symbolic Math Toolbox Functions erfc On this page Syntax Description Examples Complementary Error Function for Floating-Point and Symbolic Numbers Error Function for Variables and Expressions Complementary Error Function for Vectors and Matrices Special Values of Complementary Error Function Handling Expressions That Contain Complementary Error Function Plot error function Complementary Error Function Input Arguments X K More About Complementary Error Function Iterated Integral of Complementary Error Function Tips Algorithms References 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. Back to English × Translate This Page Select Language Bulgarian matlab error function 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) exampleerfc(K,X) exampleDescriptionexampleerfc(X
) represents the complementary error function of X, that is,erfc(X) = 1 - erf(X).exampleerfc(K
,X) represents the iterated integral of the complementary error function of X, that is, erfc(K, X) = int(erfc(K - 1, y), y, X, inf).ExamplesComplementary Error Function for Floating-Point and Symbolic Numbers Depending on its arguments, erfc can return floating-point or exact symbolic results. Compute the complementary error function for these numbers. Because these numbers are not symbolic objects, you get the floating-point results:A = [erfc(1/2), erfc(1.41), erfc(sq