Beruflich Dokumente
Kultur Dokumente
4.
Linear Binary Codes:
The goal of this part of the computer exercise is to gain familiarity with simulating the
performance of a linear binary block code. The simulation results should be consistent with the
theoretical expressions for probability of decoding error or probability of undetected error.
Consider C(8,4) example.
Simulate the performance of this (8,4) binary code used on a binary symmetric channel of bit
error rate . When using a random number generator, at the beginning of your simulation specify
the initial seed to equal the last four digits of your student ID number. Specifically:
a. Simulate the code performance when used for error detection only. Use a binary source
of equally likely zeros and ones of length N = 10,000, and BSC bit error probabilities of
= 0.1 and 0.05. Compare the simulation probability of undetected error to the
theoretical value. Include a detailed derivation of the theoretical probability of
undetected error.
b. Simulate the code performance when used for error correction only. Implement the
maximum likelihood decoder and compare the simulation results to the theoretical
expressions for BSC bit error probabilities of = 0.1, 0.03, 0.01, and 0.003. Use N =
200,000 source bits (50,000 blocks of 4 bits/block). Include a detailed derivation of the
theoretical probability of decoder block error, as well as bit error (including any
assumptions used to arrive at the bit error probability expression).
[ Nafeesa, Sagar, Seema]
5.
Pulse Amplitude Modulation :
The goal of this part of the computer exercise is to gain familiarity with random number
generators useful in simulating communication system performance. For each generation of
random variables, use an initial seed equal to the last four digits of your student ID (except
where indicated differently). For example, if your student ID ends in the digits 1234, then prior
to each generation of random numbers using Matlab, use the command rand(state,1234) if
Page 1 of 2
Faculty Incharge
HOD
Page 2 of 2