08-11-2012, 03:37 PM
LINEAR AND CYCLIC CODE GENERATION USING MATLAB
LINEAR AND CYCLIC CODE GENERATION USING MATLAB.docx (Size: 19.52 KB / Downloads: 99)
APPARATUS REQUIRED
1. Personal computer
2. MATLAB software
THEORY
Error control coding is the processor of adding redundant list to the information bits. So on to simulate two level objectives at the receiver, Error detection and correction. A block code is linear if any linear combination of its code words a code is cyclic, if any cyclic shift of a code and is also a code word. They are usually denoted by (n,k) in which the first position of k bits is always identical to the message sequence to the transmitted. The block length is denoted by n
ALGORITHM
LINEAR BLOCK CODES
1. Set the input information bits
2. Declare the parity generate matrix
3. Initialize the code word as zero
4. Generate the code word with eq=X=MG
5. Generate the parity check matrix
6. Display all the resulting matrix
7. Get the code word and introduce ‘1’ bits error
8. Calculate ends syndrome
INFERENCE:
Cyclic code posses a well defined mathematically structure, which to the development of the very efficient decoding scheme for them. Linear codes has the capacity of the correcting and detecting end bit