Code covered by the BSD License  

Highlights from
QUADGR

5.0

5.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 2.9 KB File ID: #23325
image thumbnail

QUADGR

by Jonas Lundgren

 

17 Mar 2009 (Updated 29 Sep 2011)

Gauss-Legendre quadrature with Richardson extrapolation.

| Watch this File

File Information
Description

Yes I know, there is no particular need for another 1-d quadrature.
QUADGK works excellent and the supply on the File Exchange is rich.
Anyway, here is another example.

The quadrature is the 12-point Gauss-Legendre (replace by your favorite).
The error estimate is based on successive interval bisection. Richardson
extrapolation accelerates the convergence for some integrals.

The Richardson extrapolation includes an estimate of the convergence order.
This is necessary for integrals with endpoint singularities. Infinite intervals are
also implemented for completeness.

QUADGR can also be used together with DBLQUAD and TRIPLEQUAD
for double- and triple integrals.

Acknowledgements

Gaussquad inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
approximation, extrapolation, gauss, integral, integration(2), legendre, quadrature, richardson
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
18 Mar 2009 John D'Errico

Yes, Jonas is correct. The world is not waiting desperately for yet another 1-d quadrature. But this one is a worthy tool to add to your collection. Well written in all respects.

Updates
14 Apr 2010

Adapted to DBLQUAD and TRIPLEQUAD.

29 Sep 2011

New contact info

Contact us