MATLAB Answers

huffman coding set bit

1 view (last 30 days)
Shehab Tarek
Shehab Tarek on 20 May 2020
i want to set the bit in cell
i have six value
in colum number 1
x1=0.3
x2=0.25
x3=0.15
x4=0.12
x5=0.1--------
x6=0.08------
then give the last two index
0
then 1
then update the sumation to be 0.18
then compare it with the last to index
if greater than them not add zero or one on it
the final answer

Answers (0)

Community Treasure Hunt

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

Start Hunting!