CUMSIM: "CUMulative SIMpson" integral

Integral(y(x),x(1),x(end)) by Simpson. Nonequidistantlysampled data regularuzed by PARFIL
2.7K 次下载
更新时间 2006/3/8

无许可证

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).

引用格式

Vassili Pastushenko (2024). CUMSIM: "CUMulative SIMpson" integral (https://www.mathworks.com/matlabcentral/fileexchange/10236-cumsim-cumulative-simpson-integral), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0