MATLAB Answers

Replacing array elements with cell elements

1 ビュー (過去 30 日間)
Aya Abdel Moniem
Aya Abdel Moniem 2020 年 5 月 18 日
回答済み: Chaitanya Mallela 2020 年 8 月 19 日
I am creating a code that generates a huffman dictionary, after creating the dictionary i need to sent the message in a compressed notation, but i don't really understand how to do this. but i can't use the inbuilt functions.

  1 件のコメント

Mehmed Saad
Mehmed Saad 2020 年 5 月 18 日
please share the code you have written so far.


回答 (1 件)

Chaitanya Mallela
Chaitanya Mallela 2020 年 8 月 19 日
Once a huffman dictionary created for an alphanumeric data from the message with the probability of occurences obtained from their ASCII values, an encoded bit sequence will be obtained for unique alphanumeric data by huffman encoding. Now compare every ASCII value of the alphanumeric data in the message with the ASCII values of the unique data in the dictionary and the corresponding encoded bit sequence is transmitted.

  0 件のコメント




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by