$29
1. Let a binary PCM signaling scheme be given by s1(t) for bit 1 and s2(t) for bit 0, where
s1(t) = + A, 0 t T
=0, elsewhere, and
s2(t) = A, 0 t T
=0, elsewhere.
Generate a random bit stream and let the corresponding Binary PCM NRZ-L wave-form be represented by x(t). Sample x(t) with a sampling rate fs = 10/T to obtain
• sequence x(n) and add AWGN to give the sampled received waveform r(n). Using the matched filter (or correlators) discussed in class, detect the message from the re-ceived signal r(n), and compare with the original message bits to compute the bit error probability PB. Note that you will have to repeat the above experiments for several bit streams in order to come up with a reliable estimate of PB. Repeat the same experiment with increasing Gaussian noise variance, and plot PB against the noise variance. Also observe the effect of different choices for A and T on PB.
1