MATLAB Answers

Replacing array elements with cell elements

1 view (last 30 days)
Aya Abdel Moniem
Aya Abdel Moniem on 18 May 2020
Answered: Chaitanya Mallela on 19 Aug 2020
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 Comment

Mehmed Saad
Mehmed Saad on 18 May 2020
please share the code you have written so far.

Sign in to comment.

Answers (1)

Chaitanya Mallela
Chaitanya Mallela on 19 Aug 2020
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 Comments

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!