Repetition code
Repetition code, is a coding scheme, that repeats the bits, across a channel to achieve error free communication. Repetition code, is generally a very naive method of encoding data across a channel, and its not preferred for Additive White Gaussian Channels(AWGN), due to its worse-than-the-present error performance.
There are, two parts to the repetition code, as for any other code: the encoder, and decoder, which will be described about in detail.
Repetition Coder
The encoder, is a simple device that repeats, times, a particular bit to the waveform modulator, when the bit is received from the source stream.
Eg: If we have a repetition code, then encoding the following signal, , yields, a code.
Repetition Decoder
Repetition decoding is done, using Majority logic detection. In this scheme, we select the transmitted bit, as the one that has the maximum occurance in the stream.
Eg: If we have a repetition code, then decoding the following signal, , yields, a message, as we have most occurance of 1's 0's and 1's in the first, second and third code sequences, received from the channel. This method is again a naive may of assuming least errors, in the channel.
Code parameters
The for an code. Even then, repetition code performs worse, as its error correcting capacity is not utilized in repetition decoding algorithms.
Applications
Due to the simplicity of the channel encoding, and decoding signals, for repetition codes,
they find applications, in fading channels, and non-AWGN environments. Repetition codes,
can be viewed as a method of space-time diversity aswell.