Code Monkey home page Code Monkey logo

error-correcting-code's Introduction

error-correcting-code

An implementation of the Reed-Solomon's error correcting code, written as part of an academic course I took during my computer science bachelor degree. I implemented an encoding algorithm and list decoding algorithm for Reed Solomon Codes. This implementation is based on the book of Madhu Sudan, chapters: 5, 11 and 12. https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/web-coding-book.pdf

Introduction

During transmission of information using unreliable communication channels, noise can be added to the information causing it to be corrupted. In that case, wrong data can be received, or some data can be lost. Error correcting codes, such as Reed-Solomon’s code, are techniques to enable reliability of the transmitted data, so that the right message is both transmitted and received. This is done by encoding the original message (changing it and adding information to it), so that in case of any noise or erasures, the right message can be deducted from it.

Background information

Reed–Solomon codes are a group of error-correcting codes that were introduced by Irving S. Reed and Gustave Solomon in 1960 who were then staff members of MIT Lincoln Laboratory. The codes are broadly used and today they are mainly used in customer technologies, satellite communication, storage systems and so on. RS codes are preformed on blocks of data treated as a set of finite field elements. They can detect and correct multiple errors in the data.

I chose the finite field 𝔽257 as my alphabet. I chose this field since the extended 𝐴𝑆𝐶𝐼𝐼 table includes 256 values and 257 is the closest prime number greater than 256.

How to run the file

  1. go to https://cocalc.com/ and upload the file
  2. Then you can open the file and click on the run button
  3. The result will be at the bottom of the file under the “Output” section

error-correcting-code's People

Contributors

ofekalg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

zhu-jianjun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.