gaussquad(f,a,b)
GAUSSQUAD uses an adaptive formulation of Gauss-Legendre quadrature to evaluate the integral of f from a to b with default tolerance of 10^-14.  User can specify another tolerance by: gaussquad(f,a,b,tol).
The input function f can be an inline or function handle.
Cite As
Matt Fig (2025). gaussquad (https://se.mathworks.com/matlabcentral/fileexchange/8679-gaussquad), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2006a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
    
  Tags
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 | Added input checking. | 
