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 Center 및 MATLAB Answers에서 Calculus에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!