A source has five letters with following probabili

大学本科 已帮助: 时间:2024-11-26 01:11:37

A source has five letters with following probabilities:P(a1)=0.3,P(a2)=0.2,P(a3)=0.2,P(a4)=0.15,P(a5)=0.15 These letters are to be coded into binary digits for use on a noiseless channal.It takes 1 second to transmit a 0 and 3 seconds to transmit a 1.Using cut and try techniques,find a code with the prefix condition that minimizes the average time required to transmit a source letter and calculate this minimum average time. (2)Any such code can be represented by a tree in which the length of a branch:is proportional to the time required to transmit the associated digit.Show that for a code to minimize the average transmission time,the probabilities associated with intermediate and terminal nodes must be nonincreasing with length.
请帮忙给出正确答案和分析,谢谢!

难度:⭐⭐⭐

题库:大学本科,工学,电气信息类

标签:正确答案,请帮忙,noiseless

相似问题