Jump to content

Majority logic decoding

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 128.171.78.5 (talk) at 00:38, 15 September 2006 (Theory). 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 assumption that the largest occurrence of a symbol, was transmitted message. It bases the decision on the frequency of occurrence of any symbol in the given received code vector.

Theory

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

The repetition codes, can correct up to errors. Also, decoding errors occur, when the more than, these specified errors occur. so the probability of error for a repetition code is given using,

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/