Matlab Imaginary Error Function
Contents |
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 erfi(infinity) Functions and Other Reference Release Notes PDF Documentation MuPAD Mathematics Mathematical Constants erfi(0) and Functions Special Functions Error and Exponential Integral Functions Symbolic Math Toolbox MuPAD Functions erfi On this
Complex Error Function Matlab
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
Erf(infinity)
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 dawson integral 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 resu
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
Faddeeva Function
Join the 15-year community celebration. Play games and win prizes! » Learn erf matlab more 3.4 3.4 | 5 ratings Rate this file 3 Downloads (last 30 days) File Size: 840 Bytes File erf function calculator ID: #18238 Version: 1.0 erfi function by Per Sundqvist Per Sundqvist (view profile) 7 files 46 downloads 3.48831 06 Jan 2008 (Updated 16 Jan 2008) Imaginary error function (could be https://www.mathworks.com/help/symbolic/mupad_ref/erfi.html 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. https://www.mathworks.com/matlabcentral/fileexchange/18238-erfi-function 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 25 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 Ma
Support Support Newsreader MathWorks Search MathWorks.com MathWorks Newsreader Support MATLAB Newsgroup MATLAB Central Community Home MATLAB Answers File Exchange Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home Post A https://www.mathworks.com/matlabcentral/newsreader/view_thread/24120 New Message Advanced Search Help MATLAB Central Community Home MATLAB Answers File Exchange Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home Post A New Message Advanced Search Help Trial software The error function... Subject: The error function... From: Lars Struen Imsland Date: 4 May, 2001 15:55:50 Message: 1 of 9 Reply to this message Add author to My Watch List View original error function format Flag as spam I would like to evaluate an integral on the form (a > 0) \int_0^x e^{a t^2} dt in Matlab. This is almost the error function (erf.m). If erf would allow complex arguments, I could write .5*sqrt(pi)*erf(sqrt(-a)*x)/sqrt(-a); But it does not. If the imaginary error function existed, I could have used that. In maple: int(exp(a*t^2),t=0..x); erf(x sqrt(-a)) sqrt(Pi) 1/2 ------------------------ matlab imaginary error sqrt(-a) a := .1; x := 2; a := .1 x := 2 int(exp(a*t^2),t=0..x); 2.301967758 .5*erfi(sqrt(a)*x)/sqrt(a)*sqrt(3.1415926); 2.301967739 Lars Subject: The error function... From: Lars Struen Imsland Date: 4 May, 2001 16:39:45 Message: 2 of 9 Reply to this message Add author to My Watch List View original format Flag as spam Lars Struen Imsland