How to deal with such integration in MATLAB
Show older comments
Hello all, I am working on a problem wherein i have to find analytical expression of outage probability. In my case the outage probability is given as

where
are random variables. Specifically,
are Gamma random, Z is exponential random and H depends on a factor which is Gaussian random.
Also, the values of constants is as follows:
have values such that
. Thus if
then
. ζ can take values like 1, 10, 100, 1000, 10000, 100000 etc.
has value as 0.3 and
has value like 1.6390,
.
. Thus if
then
. ζ can take values like 1, 10, 100, 1000, 10000, 100000 etc.
.I simulated this equation (1) in MATLAB and is working perfectly. But when I tried to obtain analytical expression in terms of X then the problem is that i am getting negative infinity as value of
.
The expression that I obtained in terms of X is as follows:

where
,
and all other terms starting from
are PDF of the random variables,
is lower incomplete gamma.
, I am not getting if equation (1) is working correctly then why equation (2) is giving me negative infinity value.
Any help in this regards will be highly appreciated.
7 Comments
It would help if you included your MATLAB code in which you plotted a histogram for equation (1).
I guess this is what you mean when you write "I simulated this equation (1) in MATLAB and is working perfectly."
And it would be interesting to know how you theoretically derive (2) from (1).
chaaru datta
on 14 Feb 2025
Edited: chaaru datta
on 14 Feb 2025
chaaru datta
on 14 Feb 2025
The sum of two independent random variables already results in a complicated convolution integral. In the denominator, you have a sum of three different products of random variables - together with the numerator, this cannot result in such a simple threefold integral as written in (2).
chaaru datta
on 14 Feb 2025
Believe me: your CDF is completely wrong, and you shouldn't make attempts to determine it for such a complicated random variable as given in (1). Each addition and multiplication of random variables will give you a new integral in the expression for the CFD - thus approximately a 9-fold integral would result that can no longer be handled. Stick to your Monte-Carlo method to simulate a large number of samples and use MATLAB's "histogram" with " 'Normalization','pdf' " or " 'Normalization','cdf' " to get an impression of the empirical pdf or cdf.
Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
