Adaptive Simpson method

Version 1.0.0 (1.26 KB) by Taehee Ko
The code computes an integral of a function over an interval using the adaptive simpson rule.
306 Downloads
Updated 13 Jul 2020

View License

Input: function, endpoints of an interval, tolerance
Output: integral of the function over the interval

The code contains an example with the function. For more precise computation, split an interval into subintervals, implement the function on each of them, and sum the results. One way of the splitting is taking uniformly split subintervals.

Cite As

Taehee Ko (2026). Adaptive Simpson method (https://www.mathworks.com/matlabcentral/fileexchange/78116-adaptive-simpson-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0