登录
首页 » matlab » huffman

huffman

于 2015-04-04 发布 文件大小:1KB
0 207
下载积分: 1 下载次数: 8

代码说明:

   霍夫曼编码的具体方法:先按出现的概率大小排队,把两个最小的概率相加,作为新的概率 和剩余的概率重新排队,再把最小的两个概率相加,再重新排队,直到最后变成1。每次相 加时都将“0”和“1”赋与相加的两个概率,读出时由该符号开始一直走到最后的“1”, 将路线上所遇到的“0”和“1”按最低位到最高位的顺序排好,就是该符号的霍夫曼编码。(Specific methods Huffman coding: the probability of emergence of the size press line, the two smallest sum probability, as a new probability and the probability of re-queue the remaining, then the minimum of two probabilities are added, and then re-queue, until finally become one. Each time the sum will be 0 and 1 Fu added two probabilities, when read by the symbol has come to begin the final 1 , the route will encounter a 0 and 1 at the lowest to the highest bit of the right order, that is the symbol of the Huffman coding.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • graphAnalysisToolbox
    图像分析和图形的matlab代码,非常实用。(Image analysis and graphics of matlab code, very useful.)
    2008-08-26 10:02:52下载
    积分:1
  • Kalman-filter
    说明:  用matlab实现卡尔曼滤波对三状态的信号进行滤除噪声(Kalman filter with matlab the three states to filter out the noise signal)
    2011-03-18 11:12:53下载
    积分:1
  • PCA
    在WINDOWS环境下,使用MATLAB写的PCA代码,移植性好,对于做PCA的能方便使用!(In the WINDOWS environment, the use of PCA written in MATLAB code, portability, and for doing the PCA can easily use!)
    2013-09-14 17:13:24下载
    积分:1
  • buyu
    数学建模竞赛练习题-最优捕鱼模型的matlab代码(Mathematical modeling optimal fishing model matlab code. . . . . . . . . . . . . .)
    2012-08-30 11:16:10下载
    积分:1
  • LabelMeToolbox
    matlab实现的图像标注开源代码,极有参考价值。(matlab implementation of image annotation open source code, and a valuable reference.)
    2009-11-06 00:28:40下载
    积分:1
  • fdtd3D
    三维光子晶体的fdtd法,MATLAB源程序 含不同时间步长的过程显示(Three-dimensional photonic crystals fdtd method, MATLAB source code)
    2010-05-08 10:07:40下载
    积分:1
  • Kalman
    一种卡尔曼滤波器,通过对状态来对未来进行预测,可以估计小球的位置。(One kinds of the Kalman filter can estimate the position of the ball.)
    2013-10-24 10:14:28下载
    积分:1
  • bp2
    前向反馈BP神经网络算法matlab源程序,有详细的注释,是学习编写程序的基本例程。(Feedback prior to the BP neural network algorithm matlab source code, there are detailed notes, is to learn the basic programming routines.)
    2007-11-16 07:20:56下载
    积分:1
  • motion-detect-with-mat
    motion detect with mat
    2011-05-02 00:28:03下载
    积分:1
  • cc01
    用Cohen--Coon整定公式来求P,PI,PID的个参数,其中Gc是校正器的传递函数,kp为比例系数, Ti为积分时间常数,Td为微分时间常数,输入参量vars为带迟滞--惯性环节模型的KT τ 输入参量vars为带迟滞--惯性环节的K T ι,已知参数k=vars(1);T=vars(2);ι=vars(3)。(With Cohen- Coon tuning formula to seek P, PI, PID' s parameters, which Gc is the corrector transfer function, kp the proportional coefficient, Ti the integral time constant, Td for the differential time constant, input parameters vars as with hysteresis- inertia model KT τ as input parameters vars with hysteresis- inertia of KT ι, the known parameters k = vars (1) T = vars (2) ι = vars (3).)
    2010-05-18 20:37:26下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载