Complex Error Function Matlab
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 matlab complex erfc files Join the 15-year community celebration. Play games and win prizes! » computation of the complex error function Learn more 4.6 4.6 | 5 ratings Rate this file 14 Downloads (last 30 days) File Size: inverse error function matlab 59.4 KB File ID: #18312 Version: 1.0 Error function of complex numbers by Marcel Leutenegger Marcel Leutenegger (view profile) 13 files 61 downloads 4.2475 14 Jan 2008
Complementary Error Function Matlab
(Updated 14 Jan 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 matlab error function definitions are not permitted in this context complex numbers too. If called 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 onl
toolboxes, and other File Exchange content using Add-On Explorer in MATLAB. » Watch video Highlights from Complex Erf (Error Function), Fresnel Integrals erf_(x,N,algo)error function for matlab error function fit a real or complex array View all files Join the 15-year
Plot Error Function Matlab
community celebration. Play games and win prizes! » Learn more 5.0 5.0 | 1 rating Rate this
Q Function Matlab
file 3 Downloads (last 30 days) File Size: 3.68 KB File ID: #33577 Version: 1.0 Complex Erf (Error Function), Fresnel Integrals by Kenneth Johnson Kenneth Johnson (view profile) https://www.mathworks.com/matlabcentral/fileexchange/18312-error-function-of-complex-numbers 12 files 12 downloads 5.0 01 Nov 2011 complex erf function | Watch this File File Information Description This file is similar to the built-in MATLAB erf function, but accepts complex arguments. An included application example uses erf_ to compute the Fresnel integral functions and plot a Cornu spiral (see screenshot). Acknowledgements This file inspired Cornu https://www.mathworks.com/matlabcentral/fileexchange/33577-complex-erf--error-function---fresnel-integrals Spline and Fresnel S And Fresnel C. Required Products MATLAB MATLAB release MATLAB 7.12 (R2011a) Tags for This File Please login to tag files. mathematics Cancel Please login to add a comment or rating. Comments and Ratings (2) 28 Apr 2016 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 The Symbolic toolbox also provides the Fresnel functions: fresnels: http://www.mathworks.com/help/symbolic/fresnels.html fresnelc: http://www.mathworks.com/help/symbolic/fresnelc.html Comment only 04 Oct 2013 Anne Anne (view profile) 0 files 0 downloads 0.0 Contact us MathWorks Accelerating the pace of engineering and science MathWorks is the leading developer of mathematical computing software for engineers and scientists. Discover... Explore Products MATLAB Simulink Student Software Hardware Support File Exchange Try or Buy Downloads Trial Software Contact
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home Symbolic Math https://www.mathworks.com/help/symbolic/erf.html Toolbox Examples Functions and Other Reference Release Notes PDF Documentation Mathematics https://www.mathworks.com/matlabcentral/fileexchange/18238-erfi-function Mathematical Functions Symbolic Math Toolbox Functions erf On this page Syntax 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 Handling Expressions That Contain Error Function Plot Error error function 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 Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English error function matlab 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 = [erf(1/2), erf(1.41), erf(sqrt(2))]A = 0.5205 0.9539 0.9545Compute the error function for the same numbers converted to symbolic objects. For most symbolic (exact) numbers, erf
apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB. » Watch video Highlights from erfi function erfi(x)%erfi(x). The Imaginary error function, as it is defined in Mathematica View all files Join the 15-year community celebration. Play games and win prizes! » Learn more 3.4 3.4 | 5 ratings Rate this file 5 Downloads (last 30 days) File Size: 840 Bytes File ID: #18238 Version: 1.0 erfi function by Per Sundqvist Per Sundqvist (view profile) 7 files 56 downloads 3.48831 06 Jan 2008 (Updated 16 Jan 2008) Imaginary error function (could be complex) using matlab's incomplete gamma function gammainc | Watch this File File Information Description Imaginary error function, as it is defined in Mathematica erfi(z)==erf(iz)/i (z could be complex) using the incomplete gamma function in matlab: gammainc MATLAB release MATLAB 7 (R14) Tags for This File Please login to tag files. complexgaussianimaginary error functionintegral Cancel Please login to add a comment or rating. Comments and Ratings (11) 16 May 2016 Janos Janos (view profile) 0 files 0 downloads 0.0 Comment on Steven G. Johnson's code: Comment only 16 May 2016 Janos Janos (view profile) 0 files 0 downloads 0.0 This is a fantastic implementation. This code works about 2000x faster for me (when tested with large multidimensional arrays) than the built-in Matlab erfi function. 25 Jun 2013 Javier Del Águila Javier Del Águila (view profile) 0 files 0 downloads 0.0 Thank you so much Comment only 13 Mar 2013 Chris Chris (view profile) 0 files 0 downloads 0.0 Thanx man. You saved my life! 29 Oct 2012 Steven G. Johnson Steven G. Johnson (view profile) 1 file 26 downloads 4.75 Note that an alternate way of computing erfi, which works for complex z, is to use the Faddeeva function (http://www.mathworks.com/matlabcentral/fileexchange/38787-faddeeva-function-scaled-complex-error-function), via erfi = @(z) -i * (exp(z.^2) .* Faddeeva_w(z) - 1) ... this seems to avoid the below-mentioned problems for large arguments, and is faster. Comment only 21 Jun 2011 Mohamed Yassin OUKILA Mohamed Yassin OUKILA (view profile) 0 files 0 downloads 0.0 what is erfz2? Comment only 19 May 2011 Marcelo Pisani Marcelo Pisani (view profile) 0 files 0 downloads 0.0 Function gives wrong results for high moduli input. For instance, using Maple ERF converted to DOUBLE (erfz2 function below): >> z=3+2i; erfz2(z*i)/i, erfi(z) ans = 8.6873 -20.8295i ans = 8.6873 -20.8295i >> z=7+7i; erfz2(z*i)/i, erfi(z) ans = -0.056