Replacing array elements with cell elements
1 次查看(过去 30 天)
显示 更早的评论
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 个)
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!