SIMPSUM

版本 1.0.0.0 (737 字节) 作者: Vassili Pastushenko
Next to TRAPZ should be SIMPSON integration.
4.4K 次下载
更新时间 2004/8/19

无许可证

If you want to integrate numerically an analytical function, you can use QUAD or similar. However, if you want to integrate already sampled data (equidistantly), and if the data are sufficiently smooth, instead of TRAPZ you will prefer SIMPSUM, numerical integration by Simpson method. It works on vectors and matrices (columnwise), calculates the average value of the sampled data, or simpson integral itself, if you supply the range(s) of independent variable(s). If you have nonequally spaced, but still smooth data, you can first resample them equidistantly with the help of some interpolation program like interp1(...'spline') and then apply SIMPSUM.

引用格式

Vassili Pastushenko (2024). SIMPSUM (https://www.mathworks.com/matlabcentral/fileexchange/5721-simpsum), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Calculus 的更多信息
致谢

启发作品: CUMSIMPSUM

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0