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.
引用格式
Robby Ching (2026). Trapezoidal rule-function (https://ww2.mathworks.cn/matlabcentral/fileexchange/77654-trapezoidal-rule-function), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
