Trapezoidal rule-function
Version 1.0.1 (1.65 KB) by
Robby Ching
A numerical integration method for evaluating a given function
It is the classical Trapezoidal 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 1-segment evaluation is a single application of the Trapezoidal rule.
Cite As
Robby Ching (2026). Trapezoidal rule-function (https://ch.mathworks.com/matlabcentral/fileexchange/77654-trapezoidal-rule-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
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.
