Variable Rate Code Example
Example: a 0, b 100, c 101, d 11
Coding:
- aabddcaa = 16 bits
- 0 0 100 11 11 101 0 0= 14 bits
Prefix code ensures unique decodability.
- 00100111110100
-
- a a b d d c a a
Morse Code an example of variable rate code. E = . and Z = _ _ . .