image thumbnail

Trapezoidal with Simpson's rule-data

version 1.0.1 (1.7 KB) by Robby Ching
A combination of Trapezoidal and Simpson's rule (1/3 and 3/8) in evaluating a given set of data


Updated 25 Oct 2020

View License

If two points have unequal segments, the Trapezoidal rule would be applied. If 3 points have equal segments, Simpson's 1/3 rule would be applied. If 4 points have equal segments, Simpson's 3/8 rule would be applied. This method gives better estimates than using the Trapezoidal rule alone.

Cite As

Robby Ching (2022). Trapezoidal with Simpson's rule-data (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!