Matlab Error Function Complex Argument
Contents |
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 a real or complex array View all files faddeeva function Join the 15-year community celebration. Play games and win prizes! » Learn more complex error function 5.0 5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 3.68 KB File ID: #33577
Erfi Matlab
Version: 1.0 Complex Erf (Error Function), Fresnel Integrals by Kenneth Johnson Kenneth Johnson (view profile) 12 files 13 downloads 5.0 01 Nov 2011 complex erf function | Watch this File File
Complex Error Function Matlab
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 Spline and Fresnel S And Fresnel C. Required Products MATLAB MATLAB release MATLAB 7.12 (R2011a) Tags for This File Please login to tag imaginary error function 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 Sales Pricing and Licensing Learn to Use Documentation Tutorials Examples Videos and Webinars Training Get Support Installation Help Answers Consulting License Center About MathWorks Careers Company Overview Newsroom Social Mission © 1994-2016 The MathWorks, Inc. Patents Trademarks Privacy Policy Preventing Piracy Terms of Use RSS Google+ Facebook Twitter
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 https://www.mathworks.com/matlabcentral/fileexchange/33577-complex-erf--error-function---fresnel-integrals 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 https://www.mathworks.com/help/symbolic/mupad_ref/erfi.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 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(∞) =
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 New Message Advanced Search Help MATLAB Central Community Home https://www.mathworks.com/matlabcentral/newsreader/view_thread/24120 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 format Flag as spam I would like to evaluate an integral on the form (a > 0) \int_0^x e^{a error function 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 ------------------------ 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 complex error function 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