CUMSIMPSUM

Cumulative numerical integration via the Simpson's rule.

You are now following this Submission

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 .

Acknowledgements

Inspired by: SIMPSUM

Categories

Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.