Preview

Linear Block Codes

Powerful Essays
Open Document
Open Document
864 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Linear Block Codes
KATHMANDU UNIVERSITY
School Of Engineering
Department of Electrical and Electronics

Assignment #2 Submitted by: Submitted to :
Amar Shrestha Mr. Brajesh Mishra
Roll- 32024
________________________________________________________________

LINEAR BLOCK CODES

A systematic (n,k) linear block code is a mapping from a k-dimensional message vector to an ndimensional codeword in such a way that part of the sequence generated coincides with the k message digits. The difference (n − k) represents the parity bits. A systematic linear block will have a [k × n] generator matrix [G] of the form G=[P IK ]

Then the code is given as C= D*G
Where D is the data word.

Another important matrix associated with block codes is the [(n − k) × n] parity check matrix, [H]. The parity check matrix is formed by starting with the identity matrix and appending the transpose of the nonidentity portion of [G]:

H=[IK PT ]

The parity check matrix has the property c[H]T = 0

That is, any errorless, received code word multiplied by the transpose of the parity check matrix, [H], yields a zero vector, or syndrome. If the received code word contains an error, the resulting vector will match the corresponding bit that caused the error. S= R[H]T=E H]T

Where S= error syndrome R= received codeword E=error

Algorithm:

1. Take generator matrix from the user. 2. Create the 4 bit data word, total of 16 data words, using two dimensional array in the matlab. 3. Then code word is generated utilizing the matrix multiplication formula for the code word. 4. Then Hamming distance is determined by the minimum of the number of ones among the individual code words. 5. Now to check for error, first we enter a received code word. 6. Now generate the error syndrome utilising the formula for S. 7. After that, the error location in the received code

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 9 Exam Paper

    • 486 Words
    • 2 Pages

    Following the two scenarios where if one bit is converted and results in the same received pattern +-0+-0-+…

    • 486 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Nt1310 Unit 1 Exercise 1

    • 5033 Words
    • 21 Pages

    Figure: Euclidean division algorithm The message is represented by a information polynomial i(x). i(x) is store as a bit pattern of k length in an integer array. The k information bits are represented by k-1 degree polynomial i(x) = i(k-1)x(k-1) + i(k-2)x(k-2) +……………………………..+i1x+i0 A polynomial code is specified by its generating polynomial g(x). If we assume that we are dealing with a code in which codewords have n bits of which k are information bits and n-k are check bits . The…

    • 5033 Words
    • 21 Pages
    Powerful Essays
  • Good Essays

    The general idea behind Space–Time Block Codes construction is based on finding coding matrices X that can satisfy the following condition,…

    • 674 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Pm3110 Lesson 4

    • 513 Words
    • 3 Pages

    A ____, used in RAID Level 2, is a coding scheme that adds extra, redundant bits to the data and is therefore able to correct single-bit errors and detect double-bit errors.…

    • 513 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    19.Write a program that prompts the user to enter a character and on subsequence line print its ASCII code in binary and the number of 1 bit in its ASCII code. Page: 136…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CS 220 – Programming w/ Data Structures: You have missed one assignment and one quiz. Your instructor has extended your assignment due date to this Sunday, April 10. Your instructor has also let you to take your Quiz # 2 during his office hours during this week. Let me know if you need additional support to study for this quiz. Your grade to date in this class is 30.2/37 81.62% B.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Papazian-Boyce, L. M. (08/2015). Pearson's Comprehensive Medical Coding, 1st Edition. [Bookshelf Online]. Retrieved from https://online.vitalsource.com/#/books/9781323294284/…

    • 387 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    E/M Codes Analysis

    • 160 Words
    • 1 Page

    A negative impact for not correctly assigning these codes , would be denial for payment of services rendered . Which in turn will cause the physician and facilities to lose massive amounts of money.…

    • 160 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Codes are temporary codes for emerging technology, services, and procedures. These codes also have alphabetic characters for the fifth digit:…

    • 440 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.…

    • 843 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Reimbursement Issues

    • 1536 Words
    • 7 Pages

    codes is documentation and ensuring the correct codes are used for the services provided, included the time a service is being conducted. For example, CPT code 99291 is used during the first 30-74 minutes of assistance, but can only be used once on a day-to-day basis (Magdic, 2013).…

    • 1536 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Tough's Coding Speed-Test

    • 611 Words
    • 3 Pages

    Accordingly, Tough elaborates on the coding speed- test, which was conducted by Carmit Segal, a professor at the University of Zurich. He presents an overview of the study, by which he states, “First, participants are given an answer key in which a variety of simple words are each assigned a four-digit identifying number … a multiple choice test that offers five four-digit numbers as potential correct answer for each word … All you have to do is find the right number from the key above and then check that box …” (Tough 67-68). He establishes the parameters of the experiment, and how it is designed to be executed. Participants are given an answer key and are asked to match the word with the correct number. He explains the results of the study…

    • 611 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Protein Synthesis Notes

    • 336 Words
    • 2 Pages

    Triplet Code: codon- a series of three base pairs that code for an amino acid.…

    • 336 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Aes Encrypt

    • 1445 Words
    • 6 Pages

    processes data as block of 4 columns of 4 bytes operates on entire data block in every round resistant against known attacks speed and code compactness on many CPUs…

    • 1445 Words
    • 6 Pages
    Good Essays
  • Good Essays

    to exploit a weakness in the encryption algorithm, or to try an exhaustive search of all…

    • 867 Words
    • 4 Pages
    Good Essays

Related Topics