equation 7.4.10 from handbook of mathematical functions

조회 수: 1 (최근 30일)
Tammun filistin
Tammun filistin 2018년 2월 8일
댓글: Walter Roberson 2019년 5월 1일
dear friends
how i can find the integral in the attached photo by MATLAB
fun = @(t) exp(-t.^2)/(t+1);
q = integral(fun,0,inf)
%%ı tried to write it in this way also but i couldnt have asolution
syms a t x
fun2=exp(-2*t.^2)/(t+1);
sol1 = int(fun2,t,0,inf);
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 2월 8일
For x = 1, MATLAB and Maple both give a MeijerG based result; Wolfram Alpha (Mathematica) times out trying to compute it in the free version.
For x not 1, none of the three will find the solution shown -- which, after all, just substitutes one indefinite integral for another.

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

채택된 답변

Birdman
Birdman 2018년 2월 8일
fun = @(t) exp(-t.^2)/(t+1);
q = integral(fun,0,inf,'ArrayValued',true)

추가 답변 (2개)

Star Strider
Star Strider 2018년 2월 8일
you need to vectorise the division as well as the exponentiation:
fun = @(t) exp(-t.^2)./(t+1);
↑ ← VECTORIZE HERE AS WELL
q = integral(fun,0,inf)
q =
0.605133652503344

samriti bali
samriti bali 2019년 4월 29일
To walter Roberson sir .... i have a query regarding meijer G function...sir can u please tell me how to simulate the equation of meijer G function in matlab shown in pic ..sir Plz reply
query.jpg
  댓글 수: 3
samriti bali
samriti bali 2019년 4월 30일
Respected sir, i have already gone through this link and all other links....but nothing is clear from it...that's why i posted my query here...if u can tell me the format to write this equation in matlab then ur help will be beneficial for me.
Walter Roberson
Walter Roberson 2019년 5월 1일
Calculate one term where j=0. The result will be 0 if the term is 0 and otherwise will be infinity times the sign of the term. You have posted an infinite sum whose terms do not vary with the variable of summation so you will either get +inf, 0, or -inf

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

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by