01.05.2017 Views

563489578934

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

702<br />

Probability and Random Variables<br />

Appendix B<br />

As mentioned earlier, it is unfortunate that the integrals for Q(z) or erfc(z) cannot be evaluated<br />

in closed form. However, for large values of z, very good closed-form approximations can<br />

be obtained, and for small values of z, numerical integration techniques can be applied easily.<br />

A plot of Q(z) is shown in Fig. B–7 for z 0, and a tabulation of Q(z) is given in Sec. A–10.<br />

A relatively simple closed-form upper bound for Q(z), z 0, is<br />

1<br />

Q(z) 6<br />

(B–64)<br />

12p z e-z2>2 , z 7 0<br />

This is also shown in Fig. B–7. It is obtained by evaluating the Q (z) integral by parts:<br />

q<br />

1<br />

Q(z) = >2 q<br />

L 12p e-l2 dl = udv = uv `<br />

L<br />

z<br />

z<br />

q<br />

z<br />

q<br />

- vdu<br />

L<br />

z<br />

where u = 1>(12pl) and dy = le -l2 >2 dl. Thus,<br />

1<br />

Q(z) = a<br />

>2 12p l ba-e-l2 b `<br />

q<br />

z<br />

q<br />

- a-e -l2 >2 ba-<br />

L<br />

z<br />

1<br />

12p l 2 dlb<br />

Dropping the integral, which is a positive quantity, we obtain the upper bound on Q(z), as<br />

given by Eq. (B–64). If needed, a lower bound may also be obtained [Wozencraft and Jacobs,<br />

1965]. A rational function approximation for Q(z) is given in Sec. (A–10), and a closed-form<br />

approximation has an error of less than 0.27%.<br />

For values of z 3, this upper bound has an error of less than 10% when compared with<br />

the actual value for Q(z). That is, Q(3) = 1.35 * 10 -3 and the upper bound has a value of<br />

1.48 * 10 -3 for z = 3. This is an error of 9.4%. For z = 4, the error is 5.6%, and for z = 5, the<br />

error is 3.6%. In evaluating the probability of error for digital systems, as discussed in<br />

Chapters 6, 7, and 8, the result is often found to be a Q function. Since most useful digital systems<br />

have a probability of error of 10 -3 or less, this upper bound becomes very useful for<br />

evaluating Q(z). At any rate, if the upper bound approximation is used, we know that the value<br />

obtained indicates slightly poorer performance than is theoretically possible. In this sense,<br />

this approximation will give a worst-case result.<br />

For the case of z negative, Q(z) can be evaluated by using the identity<br />

Q(-z) = 1 - Q(z)<br />

(B–65)<br />

where the Q value for positive z is used (as obtained from Fig. B–7) to compute the Q of the<br />

negative value of z.<br />

Example B–8 APPROXIMATION FOR Q(Z)<br />

Write a MATLAB program to evaluate and plot Q(z) and the upper-bound approximation for<br />

Q(z). See ExampleB_07.m for the solution. Compare these results with Fig. B–7.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!