Problem in integration function containing gauss hypergeometric function

2 ビュー (過去 30 日間)
Shweta Rajoria
Shweta Rajoria 2017 年 12 月 14 日
コメント済み: Shweta Rajoria 2018 年 1 月 9 日
I am deriving the coverage probability of heterogeneous network with massive MIMO macro base station. During the process, I am stuck in the in hypergeometric function. The small part of that program is given below.
fun= @(x,y)imag(exp(pi.*1i.*(x).*y.^(-2).*hypergeom(1,[1/2,3/2],-1i.*x./(y.^4))))./x
c= @(y) integral(@(x) fun(x,y), 0.1,1,'ArrayValued',true)
fun1= @(y)((1/2)-((1/pi).*c(y))).*exp(-pi.*y.^2)
c1 = integral(fun1, 0.1,1)
I think iproblem is due to terms(y.^(-2) and and y.^4) in the fun. If any body have any idea please suggest. Any suggestions regarding this will be appreciated.
  7 件のコメント
Walter Roberson
Walter Roberson 2018 年 1 月 9 日
編集済み: Walter Roberson 2018 年 1 月 9 日
To within the boundaries of double precision, c1 will be nan. The values involved are way way too big to work with in double precision.
Shweta Rajoria
Shweta Rajoria 2018 年 1 月 9 日
ok sir.. thank you.. but please guide me how this problem can be resolved.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 1 月 8 日
fun(8/10, 3/10) is about 2.974*10^1912918 .
fun(8/10, 2/10) is about 4.087*10^-24618734963806
fun(8/10, 0.18) is about 2.345*10^207906652598325658
So, fun is very steep, and has a lot of values that overflow floating point representation. You will not be able to integrate that using any normal representation.
  2 件のコメント
Shweta Rajoria
Shweta Rajoria 2018 年 1 月 9 日
Then sir what is the procedure to integrate such problem.
Shweta Rajoria
Shweta Rajoria 2018 年 1 月 9 日
sir, if we are wating for long time, then NaN output comes

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by