Simpson's rule-function

Version 1.0.0 (1.94 KB) by Robby Ching
A numerical method of integrating a given function
77 Downloads
Updated 3 Jul 2020

View License

It is a combination of Simpson's 1/3 rule and 3/8 rule method in numerically integrating a given function. It asks the user the number of (equally-spaced) segments on which the function would be evaluated. A 2-segment evaluation is a single application of the Simpson's 1/3 rule; 3 segment is a single application of the 3/8 rule; even segments greater than 3 is a multiple application of 1/3 rule; odd segments greater than 3 is a combination of 1/3 and 3/8 rule.

Cite As

Robby Ching (2026). Simpson's rule-function (https://nl.mathworks.com/matlabcentral/fileexchange/77657-simpson-s-rule-function), MATLAB Central File Exchange. Retrieved .

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