Content deleted Content added
No edit summary |
distinguished practical from theoretical definition |
||
Line 1:
===Practical definition===
The main characterisation of a block code is that it is a ''fixed length'' channel code (unlike source coding schemes such as [[Huffman coding]], and unlike channel coding methods like [[convolutional code|convolutional encoding]]). Typically, a block code takes a ''k''-digit information word, and transforms this into an ''n''-digit codeword.
===Theoretical definition===
In [[information theory]], a '''block code''' is a [[code]] which encodes strings formed from an alphabet set <math>S</math> into code words by encoding each letter of <math>S</math> separately. Let <math>(k_1,k_2,\ldots,k_m)</math> be a sequence of [[natural numbers]] each less than <math>|S|</math>. If <math>S={s_1,s_2,\ldots,s_n}</math> and a particular word <math>W</math> is written as <math>W=s_{k_1}s_{k_2}\ldots s_{k_m}</math>, then the code word corresponding to <math>W</math>, namely <math>C(W)</math>, is
<math>C(W) = C(s_{k_1})C(s_{k_2})\ldots C(s_{k_m})</math>.
|