File Exchange

image thumbnail

Rombint.m

version 1.0.0.0 (1.76 KB) by Martin Kacenak
This function performs the numerical evaluation of an integral using the Romberg method.

2 Downloads

Updated 22 Jun 2006

View License

This function performs the numerical evaluation of an integral using the Romberg method.

Q = rombint('F',A,B) approximates the integral of F(X) from A to B to within a relative error of 1e-10 using Romberg's method of integration. 'F' is a string containing the name of the function. The function must return a vector of output values if a vector of input values is given.

Q = rombint('F',A,B,DECIMALDIGITS) integrates with accuracy 10^{-DECIMALDIGITS}.

Q = rombint('F',A,B,DECIMALDIGITS,P1,P2,...) allows coefficients P1, P2, ... to be passed directly to function F: G = F(X,P1,P2,...).

Created under MATLAB 5.2, works with all subsequent releases.

Cite As

Martin Kacenak (2021). Rombint.m (https://www.mathworks.com/matlabcentral/fileexchange/34-rombint-m), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

gian cuellar

thank you

ReneHBK

Culbert Oblepias

no comment

Myron Clark

Mustafa Karakaya

José Carlos Mendes da Silva

samuell zayas cuza

esto esta de pinga.............

hector quezada

george moufarrige

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired: rombquad

Community Treasure Hunt

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

Start Hunting!