gaussquad

Adaptive form of gaussleg.m.

You are now following this Submission

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 (2026). gaussquad (https://www.mathworks.com/matlabcentral/fileexchange/8679-gaussquad), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added input checking.