how to integrate a function from 0 to inf?

조회 수: 5 (최근 30일)
Luca Vecchione
Luca Vecchione 2016년 4월 25일
답변: Alessandro Masullo 2016년 4월 25일
I need to integrate a function and i would like to know if it exist a way to integrate between a real number and inf, or a way to approximate the process. Thanks for help

답변 (1개)

Alessandro Masullo
Alessandro Masullo 2016년 4월 25일
You can, but it would require... an infinite time :)
The answer mostly depends on your function. You could evaluate the function (analytic, I suppose) from 0 to an arbitrarily high number and then use sum, trapz, or any other integration method.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by