huffman coding set bit
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/295033/image.png)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/295038/image.png)
the final answer
0 个评论
回答(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!