CUMSIMPSUM

Cumulative numerical integration via the Simpson's rule.
2.5K Downloads
Updated 29 Oct 2004

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 (2024). CUMSIMPSUM (https://www.mathworks.com/matlabcentral/fileexchange/6081-cumsimpsum), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Acknowledgements

Inspired by: SIMPSUM

Community Treasure Hunt

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

Start Hunting!
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.