No BSD License  

Highlights from
CUMSIMPSUM

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 3.76 KB File ID: #6081

CUMSIMPSUM

by Michael Meyer

 

20 Oct 2004 (Updated 29 Oct 2004)

Cumulative numerical integration via the Simpson's rule.

| Watch this File

File Information
Description

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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
SIMPSUM

MATLAB release MATLAB 6.5 (R13)
Other requirements None Required
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
29 Oct 2004

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.

Tag Activity for this File
Tag Applied By Date/Time
integration Michael Meyer 22 Oct 2008 07:33:25
simpson Michael Meyer 22 Oct 2008 07:33:25
simpsum cumtrapz Michael Meyer 22 Oct 2008 07:33:25
mathematics Michael Meyer 22 Oct 2008 07:33:25

Contact us at files@mathworks.com