CUMSIMPSUM

版本 1.0.0.0 (1.3 KB) 作者: Michael Meyer
Cumulative numerical integration via the Simpson's rule.
2.5K 次下载
更新时间 2004/10/29

无许可证

Z = CUMSIMPSUM(Y,DEL) computes an approximation of the cumulative integral of Y from a=0 to b via the Simpson's rule (with unit spacing). For matrices Y, CUMSIMPSUM works on columns of Y. DEL contains the upper limit(s) b.

CUMSIMPSUM is a cumulative analog to SIMPSUM and may be used as an alternative to CUMTRAPZ.

引用格式

Michael Meyer (2024). CUMSIMPSUM (https://www.mathworks.com/matlabcentral/fileexchange/6081-cumsimpsum), MATLAB Central File Exchange. 检索来源 .

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

参考作品: SIMPSUM

Community Treasure Hunt

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

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

This updated version outputs a 1-by-N vector in case a 1-by-N vector is inputted (while the previous version always outputted a N-by-1 vector, regardless of a row or column input vector). The integration steps were not modified.