正在加载图片...
Total Number bits(excluding code book)=70 Entropy.=70/30=23333 4 MARKS-- UNSEEN (iii) What amendments are required to this coding technique if data is generated live or is othenwise not wholly available? Show how you could use this modified scheme by adding the tokens ADADA to the above message Adaptive method needed Basic idea(encoding Initialize model( while ((c getc (input))!= eof) encode (c, output)i update model (c) So encode message as before A=01D=0000 So addd stream 01000001000001Total Number bits (excluding code book) = 70 Entropy = 70/30 = 2.3333 4 MARKS --- UNSEEN (iii) What amendments are required to this coding technique if data is generated live or is otherwise not wholly available? Show how you could use this modified scheme by adding the tokens ADADA to the above message. Adaptive method needed: Basic idea (encoding) Initialize_model(); while ((c = getc (input)) != eof) { encode (c, output); update_model (c); } So encode message as before: A= 01 D = 0000 So addd stream: 01000001000001
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有