Order the symbols so that . For each , there are exactly binary strings of length , while precisely the indicessatisfy . Assign those symbols bijectively to the strings of length . The resulting map is an injective function and hence a one-to-one source code, with . Assigning shorter available words to more probable symbols also shows that this is an optimal one-to-one binary code.
Articles by others on the same topic
There are currently no matching articles.