cumquad

版本 1.0.0.0 (3.3 KB) 作者: Adam Wyatt
Cumulative integration of analytical functions via adaptive simpsons quadrature.
2.0K 次下载
更新时间 2007/1/4

查看许可证

This function is an adaptation of Matlab's "quad" function to return the cumulative integration of an analytical function.

e.g. compute integral:
I(t) = int(0..t)[1/(tau^3 - 2*tau - 5) d_tau] for t=0..3

[I, t] = cumquad(@(tau) 1./(tau.^3-2*tau-5), 0, 3);

This function is almost identical to the quad.m function (v6 upward) except it returns the integral a..x where x=a..b and the corresponding x values.

引用格式

Adam Wyatt (2024). cumquad (https://www.mathworks.com/matlabcentral/fileexchange/13538-cumquad), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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