My source is exp(-x) and I would like to compute the probability vector so as to use in huffman function for (N=4 bits).(adsbygoogle = window.adsbygoogle || []).push({});

[code,len]=Huffman(p)

May someone help me ???

I don't know hot can I find the probability vercto.

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Huffman encoding

**Physics Forums | Science Articles, Homework Help, Discussion**