gaussleg

Version 1.0.0.0 (1.98 KB) by Matt Fig
Calculates the integral of function f from a to b using ngp Gauss points.
4.4K Downloads
Updated 3 Feb 2006

View License

gaussleg(f,a,b,ngp)

I have found that this is on average +20 times faster than 'Gauss-Legendre' file(4560), and easier to read because it is shorter.

Cite As

Matt Fig (2024). gaussleg (https://www.mathworks.com/matlabcentral/fileexchange/7499-gaussleg), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Gauss-Legendre

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

The last update didn't work... This seems to be a problem.