Code covered by the BSD License  

Highlights from
Rombint.m

4.33333

4.3 | 6 ratings Rate this file 13 Downloads (last 30 days) File Size: 1.76 KB File ID: #34

Rombint.m

by Martin Kacenak

 

19 May 2000 (Updated 22 Jun 2006)

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

| Watch this File

File Information
Description

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.

Acknowledgements

This file inspired Rombquad.

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
integration(4), numerical, rhomberg, romberg(2)
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
13 Aug 2008 Culbert Oblepias

no comment

08 Apr 2008 Myron Clark  
14 Mar 2008 Mustafa Karakaya  
14 Aug 2007 José Carlos Mendes da Silva  
17 Feb 2006 samuell zayas cuza

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

23 Mar 2004 hector quezada  
01 May 2003 george moufarrige  
Updates

modifying description

22 Jun 2006

Description and keywords correction.

Contact us