- #1

- 1,367

- 61

I have the following code to find the parameters Na and Q that make the expression equals [tex]10^{-10}[/tex]:

Code:

```
Na =.;
Q =.;
MGF[s_, gC_] := 1/(1 - gC*s);
SNRdB = 0;
SNR = 10^(SNRdB/10);
gC = 0.5*SNR;
p = gA*gB;
A = 23;
Solve[((E^(A/2)*2^-Q)/SNR \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(q = 0\), \(Q\)]\(-
\*SuperscriptBox[\(1\), \(Na + q + 1\)]\)*Binomial[Q, q]*Re[
\*FractionBox[\(MGF[\(-
\*FractionBox[\(A + \((2*Pi*I \((Na + q + 1)\))\)\), \(2\ SNR\)]\),
gC]\),
FractionBox[\(A + 2*Pi*I \((Na + q + 1)\)\), \(2\ SNR\)]]]\)) ==
10^-10, {Na, Q}]
```

Thanks in advance