CUMSIMPSUM
No License
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.
Cite As
Michael Meyer (2026). CUMSIMPSUM (https://www.mathworks.com/matlabcentral/fileexchange/6081-cumsimpsum), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: SIMPSUM
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 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. |
