Simpson's rule-function
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 (2024). Simpson's rule-function (https://www.mathworks.com/matlabcentral/fileexchange/77657-simpson-s-rule-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |