gaussquad

Version 1.0.0.0 (2.39 KB) by Matt Fig
Adaptive form of gaussleg.m.
5.1K Downloads
Updated 2 Oct 2008

View License

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 (2024). gaussquad (https://www.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 Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Added input checking.