Jump to content

Majority logic decoding

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RJFJR (talk | contribs) at 19:15, 8 January 2011 (wfy). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Majority logic decoding is a method to decode Repetition codes, based on the assumption that the largest number of occurrences of a symbol was the transmitted symbol.

Theory

If we have a binary alphabet made of and we use an repetition code, then we have each input bit mapped to the codeword as a string of -replicated input bits. We generally choose , an odd number.

The repetition codes can correct up to transmission errors. Decoding errors occur when the more than these transmission errors occur. Thus, assuming bit-transmission errors are independent, the probability of error for a repetition code is given by , where is the error over the transmission channel.

Algorithm

Assumptions

You have a code word, where an odd number.

  • Calculate the Hamming weight of the Repetition code.
  • if , decode code word to be all 0's
  • if , decode code word to be all 1's

Example

If you had a code, with R=[1 0 1 1 0], then you would decode it as,

  • , , so R'=[1 1 1 1 1]
  • Hence the transmitted message bit, was 1.

References

  1. Rice University, http://cnx.rice.edu/content/m0071/latest/