CUMSIM: "CUMulative SIMpson" integral
No License
CUMSIM integrates sampled vectors or matrices y as functions of vector x, not necessarily uniform. Parabolic interpolation is made by PARFIL.
Contents of CUMSIM.zip
CUMSIM
CUMSPLINE
COMPCUM
CUMSPLINE: similar to CUMSIM, but interpolation is made by interp1(x,y,X,'spline'), where X=parfil(x,x);
COMPCUM: compares results of
CUMSIM,
CUMSIMPSON (cf. FEX) and
CUMSPLINE,
integrating sin(x) with randomly generated x.
Repetitive call of COMPCUM generates different versions of the screenshot above.
As a rule, CUMSPLINE wins, but if the data are slightly noisy, CUMSIM can win (cf. PARFIL).
Cite As
Vassili Pastushenko (2026). CUMSIM: "CUMulative SIMpson" integral (https://www.mathworks.com/matlabcentral/fileexchange/10236-cumsim-cumulative-simpson-integral), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
