Search for question
Question

Question 2 A communication system represents symbols as a series of four binary numbers. These are transmitted from a sender to a receiver via a communication channel. A Hamming (7,4) block

code can be used to correct single errors in the signal. Write a code that implements this correction in practice. You may find the mod function at https://uk.mathworks.com/help/matlab/ref/mod.html useful when answering this question. You may use a built in function for modulo 2 addition and xor gates if you wish. You may not use a built in function that performs forward error correction. If you are unsure whether you are permitted to use a particular function, then please ask. State a limitation of this method of correcting errors in codes and suggests how this limitation could be addressed. Your submission should include: • A detailed description of your work • A.m file for part a containing your code, which can be run by another user. You should make sure that this code contains comments in an appropriate level of detail and any instructions that another user needs to be able to run this code. If you are unsure what level of detail is required, then you are advised to refer back to lab 1.

Fig: 1