hamming


hamming, a MATLAB code which implements some simple versions of Hamming codes which can detect and correct errors in data.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

hamming is available in a MATLAB version.

Related Data and Programs:

bank, a MATLAB code which computes the check digit associated with a US Bank Routing Number check digit, or it reports whether a 9-digit code is actually valid.

dictionary_code, a MATLAB code which demonstrates how a text file can be compressed and decompressed using a dictionary code.

gray_code_display, a MATLAB code which computes the Hamming distance tables for both the binary and Gray codes, and displays 3D plots that illustrate how the Gray code does a better job of providing nearby representations for nearby numbers.

hamming_test

rot13, a MATLAB code which enciphers a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.

upc, a MATLAB code which determines the check digit for a Uniform Product Code (UPC) or report whether a given UPC is valid.

Source Code:


Last modified on 27 January 2019