How to integrate indeterminate integral?

조회 수: 1 (최근 30일)
AGS
AGS 2016년 12월 2일
댓글: AGS 2016년 12월 2일
I am trying to integrate an expression using the integral command of MATLAB. The limits of the integral are 0 to Infinity. The integral is indeterminate due to the presence of an exp(x) term in the expression and hence MATLAB gives me NaN. I know I can use l'hopitals rule to solve indeterminate integrals. But, I don't seem to be able to gather how to get this done in MATLAB? Are there options in MATLAB integral function that can be tweaked to handle such cases? What are my options to solve such an indeterminate integral in MATLAB?
  댓글 수: 1
Torsten
Torsten 2016년 12월 2일
What do you mean by
The integral is indeterminate due to the presence of an exp(x) term in the expression and hence MATLAB gives me NaN. I know I can use l'hopitals rule to solve indeterminate integrals.
?
Try MATLAB's "int". If this does not work, maybe somone can help if you show us the integral you are trying to solve.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2016년 12월 2일
편집: KSSV 2016년 12월 2일
Try quadgk once.
  댓글 수: 1
AGS
AGS 2016년 12월 2일
Already tried this before putting up the question. Unfortunately, this doesn't work.

댓글을 달려면 로그인하십시오.

카테고리

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