Question: This is important information needed to solve the question This is the question. Only solve the Simulating channel and Simulating receiver In coding theory, the

This is important information needed to solve the question

This is important information needed to solve the question This is the

This is the question. Only solve the "Simulating channel" and "Simulating receiver"

question. Only solve the "Simulating channel" and "Simulating receiver" In coding theory,

In coding theory, the repetition code is one of the most basic error-correcting codes. In order to transmit a message over a noisy channel that may corrupt the transmission in a few places, the idea of the repetition code is to just repeat the message several times. The following is a simple repetition code that repeat each symbol 3 times. Simulating transmitter: 1- generate a sequence of data (0,1) randomly using command "randi" or any other command you know. (0 and 1 with the same probability). You can generate 10,000 bits or more. 2- encode data bits using repetition code described before. Simulating channel: 1- using "bsc" command in Matlab, add some error with the error probability p=0.05 and store the output of the channel in a variable. Simulating receiver: 1- write a program that decode the received data and map them into bits. To do this, you need to consider every three bits in the received data and then, map them according to the second table. 2- calculate the bit error rate (you can use your own code or "biterr" command in Matlab. 3- plot the bit error rate for different values of error probability p between zero and 1 (choose a sensible step that gives you a smooth curve) 4- compare the result with the case without using repetition code. What can you say about the performance of the repetition code in terms of error probability? Is it always efficient? In coding theory, the repetition code is one of the most basic error-correcting codes. In order to transmit a message over a noisy channel that may corrupt the transmission in a few places, the idea of the repetition code is to just repeat the message several times. The following is a simple repetition code that repeat each symbol 3 times. Simulating transmitter: 1- generate a sequence of data (0,1) randomly using command "randi" or any other command you know. (0 and 1 with the same probability). You can generate 10,000 bits or more. 2- encode data bits using repetition code described before. Simulating channel: 1- using "bsc" command in Matlab, add some error with the error probability p=0.05 and store the output of the channel in a variable. Simulating receiver: 1- write a program that decode the received data and map them into bits. To do this, you need to consider every three bits in the received data and then, map them according to the second table. 2- calculate the bit error rate (you can use your own code or "biterr" command in Matlab. 3- plot the bit error rate for different values of error probability p between zero and 1 (choose a sensible step that gives you a smooth curve) 4- compare the result with the case without using repetition code. What can you say about the performance of the repetition code in terms of error probability? Is it always efficient

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!