www.ai-studio.com/jason     About / Current Studies
    Graduate Studies
    Papers/Publications
    Odds and Ends
Dynamic Scripting
The scripts that run this portion of my site are created in PHP, an open source and free scripting language. See http://www.php.net for more details.
 

 
Coding Theory - PHP Script for Binary Linear Error Correcting Codes
 
 

Please select the type of code you wish to use for message encoding/decoding.

Hamming (3,1,3) (7,4,3) (15,11,3) (31,26,3) (63,57,3) (127,120,3) (255,247,3)

Predefined Examples of Hamming codes: Encode a (7,4,3) code with message 0011
Encode a (15,11,3) code with message 00100101010 10011010010
 
Decode a (31,26,3) code with an included error
and received message 1101001001101011001001010011010

 
Decode a multi-word (127,120,3) code with several included errors

 

These binary linear error correcting codes are expressed in terms of (n,k,d), where:
n = length of each codeword.
k = dimension of each codeword. Thus, n-k is the number of parity check or redundant bits.
d = minimum distance between any two codewords.


 

To view the script that runs this page, click here.