Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Calculating and plotting an integral

조회 수: 1 (최근 30일)
Susan
Susan 2019년 2월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Rik
Rik 2019년 2월 14일
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.
David Goodmanson
David Goodmanson 2019년 2월 17일
편집: David Goodmanson 2019년 2월 17일
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.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by