Integrate (wrapper for dealing with infinite bounds)

版本 1.0.1.0 (1.7 KB) 作者: AS
A wrapper for quad to deal with inf bounds.
1.2K 次下载
更新时间 2016/3/31

查看许可证

A wrapper for quad (or any other integration function) to deal with infinite bounds.
This basically does the transformations for you to do improper integrals. For example, what this does is:

int(f(x), 1, inf) = int( (1/x^2) f(1/x), 0, 1)

For example, if I wanted the integral of exp(-x^2) from 0 to infinity, I would just enter:
integrate(@(x)exp(-x.^2),0,inf)

And this function would do the rest of the work.

引用格式

AS (2024). Integrate (wrapper for dealing with infinite bounds) (https://www.mathworks.com/matlabcentral/fileexchange/21417-integrate-wrapper-for-dealing-with-infinite-bounds), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
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.1.0

Just updating for BSD license. No changes to file.

1.0.0.0