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.
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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
