Content deleted Content added
the article is listed in the navbox per WP:NAV-WITHIN |
→Source coding: Sweeping changes |
||
Line 37:
===Definition===
Data can be seen as a [[random variable]] <math>X:\Omega\
Data are encoded by strings (words) over an [[Alphabet (computer science)|alphabet]] <math>\Sigma</math>.
Line 43:
A code is a function
:<math>C:\mathcal{X}\
<math>C(x)</math> is the code word associated with <math>x</math>.
Line 49:
Length of the code word is written as
:<math>l(C(x)).</math>
Expected length of a code is
:<math>l(C) = \sum_{x\in\mathcal{X}}l(C(x))\mathbb{P}[X=x] .</math>
The concatenation of code words <math>C(x_1,
The code word of the empty string is the empty string itself:
:<math>C(\epsilon) = \epsilon</math>
===Properties===
# <math>C:\mathcal{X}\
# <math>C:\mathcal{X}^*\
# <math>C:\mathcal{X}\
===Principle===
Line 74:
===Example===
[[FAX|Facsimile]] transmission uses a simple [[Run-length encoding|run length code]]. Source coding removes all data superfluous to the need of the transmitter, decreasing the bandwidth required for transmission.
==Channel coding==
|