how to integrate a function from 0 to inf?

3 visualizaciones (últimos 30 días)
Luca Vecchione
Luca Vecchione el 25 de Abr. de 2016
Respondida: Alessandro Masullo el 25 de Abr. de 2016
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

Respuestas (1)

Alessandro Masullo
Alessandro Masullo el 25 de Abr. de 2016
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.

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by