File Exchange

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

11 Downloads

Updated 25 Oct 2020

View Version History

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 (2020). Trapezoidal with Simpson's rule-data (https://www.mathworks.com/matlabcentral/fileexchange/77663-trapezoidal-with-simpson-s-rule-data), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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!