I noticed that the two Romberg quadrature functions on the FEX are identical (#34 and #8199). I increased the speed of the calculations for some integrations and simplified the algorithm to use a vector instead of a matrix for the interpolations.
See help for an example
Email me with bugs please. Thanks.
Cite As
Matt Fig (2022). rombquad (https://www.mathworks.com/matlabcentral/fileexchange/9626-rombquad), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP1
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Rombint.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.