File Exchange

image thumbnail

Romberg Integration Algorithm

version 1.0.0 (1.53 KB) by Manuel Ferrer
Performs the numerical Romberg Integration Algorithm of any function. It requires the Trapezoidal function for the first column.


Updated 03 Dec 2019

View License

Romberg integration method

Implementation based on the theory contained in "Numerical Methods for Engineers" by Steven C. Chapra.

Instructions to use the function:
The user must provide the function as an anonymous function in the command window. This can be done by introducing

f=@(x) x.*exp(2*x),

as a particular example. Then, the user should invoke the function by indicating four parameters:


where f is the integrand and k is the number of extrapolations. lmin and lmax are the lower and upper limits of the definitive integrand. It prints the table used to perform the extrapolations.

Cite As

Manuel Ferrer (2020). Romberg Integration Algorithm (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Christopher Brown

uses a function not included

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux