Complex Erf (Error Function), Fresnel Integrals
                    Version 1.0.0.0 (3.68 KB) by  
                  Kenneth Johnson
                
                
                  complex erf function
                
                  
              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).
Cite As
Kenneth Johnson (2025). Complex Erf (Error Function), Fresnel Integrals (https://au.mathworks.com/matlabcentral/fileexchange/33577-complex-erf-error-function-fresnel-integrals), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2011a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Special Functions > Error Functions >
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Calculus >
      Find more on Error Functions in Help Center and MATLAB Answers
    
  Tags
Acknowledgements
Inspired: FresnelS and FresnelC, Cornu Spline
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
