Info
This question is closed. Reopen it to edit or answer.
Calculating and plotting an integral
1 view (last 30 days)
Show older comments
Hi guys,
Can anyone help me in calculating the attached integral.
N=8,
a = 0:10 (dB)
x = sqrt(2*a)
and the goal is plotting PB vs. x.
TIA!!!!
2 Comments
Rik
on 14 Feb 2019
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.
David Goodmanson
on 17 Feb 2019
Edited: David Goodmanson
on 17 Feb 2019
Hi Su,
the inner integral (the one that is taken to the N/2-1 power) is
normcdf(v+X) - normcdf(-(v+X))
which is also
2*normcdf(v+X) - 1
assuming that v+X >= 0. But the lower limit on the outer integral, v >= -X, assures that this is the case.
So you can plug in either of those two expressions and then you are at least down to a single integral, which can be done numerically.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!