tanszek:oktatas:techcomm:shanon-fano_method
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tanszek:oktatas:techcomm:shanon-fano_method [2024/10/08 08:39] – knehez | tanszek:oktatas:techcomm:shanon-fano_method [2024/10/08 08:45] (current) – knehez | ||
---|---|---|---|
Line 33: | Line 33: | ||
After substituting: | After substituting: | ||
- | $$ L = \frac{2}{4} \dot 2 + \frac{2}{8} \dot 3 + \frac{4}{16} \dot 4 = 2.75 [bit]$$ | + | $$ L = \frac{2}{4} \cdot 2 + \frac{2}{8} \cdot 3 + \frac{4}{16} \cdot 4 = 2.75 \, |
- | The original 8 symbols (X1-X8) can be stored with 4 bits. The average length is 2.75 bits, thus the compressed messages will be \(\frac{2.75}{4} \arrow 68.75% \) shorter. | + | The original 8 symbols (X1-X8) can be stored with 4 bits. The average length is 2.75 bits, thus the compressed messages will be \(\frac{2.75}{4} \approx |
tanszek/oktatas/techcomm/shanon-fano_method.1728376799.txt.gz · Last modified: 2024/10/08 08:39 by knehez