image thumbnail

gaussquad

version 1.0.0.0 (2.39 KB) by Matt Fig
Adaptive form of gaussleg.m.

4.6K Downloads

Updated 02 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!