Error Function Matlab Complex
Contents |
toolboxes, and other File Exchange content using Add-On Explorer in MATLAB. » Watch video Highlights from Error function of complex numbers erfz.m View all files Join computation of the complex error function the 15-year community celebration. Play games and win prizes! » Learn
Matlab Complex Function Plot
more 4.6 4.6 | 5 ratings Rate this file 14 Downloads (last 30 days) File Size: 59.4 KB inverse error function matlab File ID: #18312 Version: 1.0 Error function of complex numbers by Marcel Leutenegger Marcel Leutenegger (view profile) 13 files 65 downloads 4.2475 14 Jan 2008 (Updated 14 Jan
Complementary Error Function Matlab
2008) Extend the error function to the complex plane. | Watch this File File Information Description This package contains two MATLAB functions e=ERF(r) and e=ERFZ(z)} as MEX-files for Windows. ERF overloads the default MATLAB error function of real-valued numbers with a much faster implementation. ERFZ enhances ERF to evaluate the error function of complex numbers too. If called matlab error function definitions are not permitted in this context with real numbers, it is identical to ERF and equally fast. ERFZ can replace ERF if no error message is required when called with complex numbers. For compatibility with operating systems other than Windows on x86 processors, ERFZ is egally implemented as a normal M-file, which relies upon the default ERF by MATLAB. Implementation details are found in the attached PDF manual. MATLAB release MATLAB 6.1 (R12.1) Other requirements x86 Windows platform (MEX-files); none (M-file). Tags for This File Please login to tag files. erferror functionmathematicsnumerical evaluation Cancel Please login to add a comment or rating. Comments and Ratings (7) 21 Aug 2015 Karan Gill Karan Gill (view profile) 0 files 0 downloads 0.0 An alternative is to use the Symbolic Math Toolbox if you have it. Ex: >> double(erf(sym(1+1i))) ans = 1.3162 + 0.1905i You could define an anonymous function to make it easier: >> erfCmplx = @(x) double(erf(sym(x))) erfCmplx = @(x)double(erf(sym(x))) >> erfCmplx(1+1i) ans = 1.3162 + 0.1905i Comment only 05 Nov 2012 Steven G. Johnson Steven G. Johnso
toolboxes, and other File Exchange content using Add-On Explorer in MATLAB. » Watch video Highlights from Faddeeva Package: complex error functions Faddeeva_build.m Faddeeva_Dawson.m
Matlab Error Function Fit
Faddeeva_erf.m Faddeeva_erfc.m Faddeeva_erfcx.m Faddeeva_erfi.m Faddeeva_w.m View all files Join the
Q Function Matlab
15-year community celebration. Play games and win prizes! » Learn more 4.75 4.8 | 4 ratings Rate gamma function matlab this file 25 Downloads (last 30 days) File Size: 50.1 KB File ID: #38787 Version: 1.5 Faddeeva Package: complex error functions by Steven G. Johnson Steven G. https://www.mathworks.com/matlabcentral/fileexchange/18312-error-function-of-complex-numbers Johnson (view profile) 1 file 25 downloads 4.75 26 Oct 2012 (Updated 17 Dec 2012) C++ MEX plugins to compute error functions (erf, erfc, erfi, erfcx, Faddeeva, ...) of complex args | Watch this File File Information Description C++ source code for compiled plugins (MEX files) to compute various error functions for complex arguments: https://www.mathworks.com/matlabcentral/fileexchange/38787-faddeeva-package--complex-error-functions ** Faddeeva_erf(z) -- the error function ** Faddeeva_erfc(z) = 1 - erf(z) -- complementary error function ** Faddeeva_erfi(z) = -i erf(iz) -- imaginary error function ** Faddeeva_erfcx(z) = exp(z^2) erfc(z) -- scaled complementary error function ** Faddeeva_w(z) = exp(-z^2) erfc(-iz) -- Faddeeva function ** Faddeeva_Dawson(z) = 0.5 sqrt(pi) exp(-z^2) erfi(z) -- Dawson function From e.g. the Faddeeva function, one can also obtain the Voigt functions and other related functions. Assuming you have a C++ compiler (and have configured it in MATLAB with mex -setup), compile by running the included Faddeeva_build.m script in MATLAB: Faddeeva_build All of the functions have usage of the form: w = Faddeeva_w(z) or optionally Faddeeva_w(z, relerr), where relerr is a desired relative error (default: machine precision). z may be an array or matrix of complex or real numbers. This code may also be downloaded from http://ab-initio.mit.edu/Faddeeva along with documentation and other versions. As described in the source code, this implementation uses a combination of algorithms for the Faddee
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates https://www.mathworks.com/help/symbolic/erf.html Documentation Home Symbolic Math Toolbox Examples Functions and Other Reference Release Notes PDF Documentation Mathematics Mathematical Functions Symbolic Math Toolbox Functions erf On this page Syntax https://www.mathworks.com/help/symbolic/mupad_ref/erfi.html Description Examples Error Function for Floating-Point and Symbolic Numbers Error Function for Variables and Expressions Error Function for Vectors and Matrices Special Values of Error Function error function Handling Expressions That Contain Error Function Plot Error Function Input Arguments X More About 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 error function matlab 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 erfError functioncollapse all in page Syntaxerf(X) exampleDescriptionexampleerf(X
) represents the error function of X. If X is a vector or a matrix, erf(X) computes the error function of each element of X.ExamplesError Function for Floating-Point and Symbolic Numbers Depending on its arguments, erf can return floating-point or exact symbolic results. Compute the error function for these numbers. Because these numbers are not symbolic objects, you get the floating-point results:A = [e
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 Examples Functions and Other Reference Release Notes PDF Documentation MuPAD Mathematics Mathematical Constants and Functions Special Functions Error and Exponential Integral Functions Symbolic Math Toolbox MuPAD Functions erfi On this page Syntax Description Environment Interactions Examples Example 1 Example 2 Example 3 Parameters Return Values Algorithms See Also More About 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 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 erfiImaginary error functionexpand all in page MuPAD notebooks are not recommended. Use MATLAB live scripts instead.MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.Syntaxerfi(x) Descriptionerfi(x)=−ierf(ix)=2π∫0xet2dt computes the imaginary error function.This function is defined for all complex arguments x. For floating-point arguments, erfi returns floating-point results. The implemented exact values are: erfi(0) = 0, erfi(∞) = ∞, erfi(-∞) = -∞, erfi(i∞) = i, and erfi(-i∞) = -i. For all other arguments, the error function returns symbolic function calls.For the function call erfi(x) = -i*erf(i*x) = i*(erfc(i*x) - 1) with floating-point arguments of large absolute value, internal numerical underflow or overflow can happen. If a call to erfc causes underflow or overflow, this function returns:The result truncated