Project #48820 - Decoding

Wrtire a program that takes in a 7bit codeword and produces the correct 4 data bits. Assume at most one transmission error. Use the following [7,4] check matrix.

0 0 0 1 1 1 1

0 1 1 0 0 1 1

1 0 1 0 1 0 1

Output :

Enter a 7 bit codeword: 0 1 1 0 1 1 1

An error was found in bit 5 of the codeword.

The correction codeword is 0110011.

The data bits are 1011.

--------------------------------------------------------

Run these three codewords for checking

0 1 0 0 1 0 1

0 1 1 0 1 1 1 

1 0 0 1 1 0 1

Subject Computer
Due By (Pacific Time) 11/24/2014 12:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy