How can i store a Huffman dictionary, example using heap?

5 views (last 30 days)
Hi everybody,
I'm new in Matlab and I'm studing about Huffman.
I'm using huffmandict to create a dictionary, but I don't know an efficient way to store the dictionary. I'm looking for a way to turn the dictionary into array, example using heap.
My dictionary is like:
dict =
[ 32] [1x4 double]
[ 33] [1x4 double]
[ 74] [1x4 double]
[ 83] [1x4 double]
[ 97] [1x2 double]
[105] [1x4 double]
[109] [1x4 double]
[110] [1x4 double]
[111] [1x3 double]
[112] [1x4 double]
[115] [1x3 double]
Thank you for help.

Answers (0)

Categories

Find more on Large Files and Big Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!