登录
首页 » matlab » huffman

huffman

于 2015-04-04 发布 文件大小:1KB
0 252
下载积分: 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 个回复

  • NFolder
    matlab coding of bpsk
    2010-11-23 18:15:49下载
    积分:1
  • MF-DFA
    mfdfa方法用于验证非线性时间序列的长程相关性和多重分形特性。(mfdfa method has been applied to nonlinear time series to verify the long-range correlation and multi-fractal characteristics.)
    2009-06-08 17:27:42下载
    积分:1
  • 2PSK
    · 2PSK仿真系统编程。调制、信道、检测。 · 误码率仿真。 (2PSK 仿真)
    2013-12-15 20:22:42下载
    积分:1
  • (蚁群算法 matlab实现 详细分块写的)matlab实现
    基于蚁群算法的路径分析,用 matlab工具实现 每个模块都是详细分块写的(Based on path analysis of ant colony algorithm, each module is written in detail by block using MATLAB tool.)
    2020-06-25 09:20:01下载
    积分:1
  • mohu_mfun
    关于模糊控制的m文件,不用模糊工具箱,用m文件编写的代码,希望能够给大家提供帮助。(m file about fuzzy control,without fuzzy toolbox,the code written with m file,hope it can help somebody.)
    2010-12-06 22:11:43下载
    积分:1
  • AHP
    层次分析方法,用于有多个方案和多个准则的情况下,选择出其中的最优方案(AHP, for there are more programs and a number of criteria in the case, choose the optimal solution which)
    2011-07-18 13:47:23下载
    积分:1
  • 4RUPaR
    自己用matlab编的并联机器人反解程序,可运行,myfanjie为主程序,myfun为方程组子函数(parallel robot inverse kinematic based on matlab )
    2021-01-05 20:18:55下载
    积分:1
  • FIR
    1、验证窗函数 N 变化时,验证其频谱主瓣副瓣比、主瓣宽度的变化。 a)矩形窗函数的 N 变化时,验证其其频谱主瓣副瓣幅度比基本不会发生变化, 而主瓣宽度将会变窄。这说明,当用矩形窗函数设计滤波器时,增大 N 不能使 得阻带衰减减小,但能够减小过渡带。 b)再选取其他的窗如 hamming/hanning 窗,验证当 N 变化时,其频谱主瓣宽 度变化、主瓣副瓣比值变化情况。 2、用窗函数法设计线性相位 FIR 低通,通带截止频率 wp=0.5PI, 阻带截止频率 ws=0.6PI, 阻带衰减不小于 40dB,通带衰减不大于 3dB. a)选取 Hanning,Hamming 窗查看设计出来的 FIR 的过渡带宽和阻带衰减是否 满足要求,二者有什么不同。 b)使用 hamming 窗,将窗长增大 1 倍,设计 FIR。验证同样的窗函数类型 (hamming),不同窗长度时,设计出来的 FIR 的过渡带宽和阻带衰减都有什么变 化。 3、不使用 Matlab 系统函数得到上一项指标的低通,并与上一项结果比较。 4 用窗函数法设计线性相位 FIR 高通,通带截止频率 wp=0.8PI, 阻带截止频率 ws=0.7PI, 阻带衰减不小于 30dB,通带衰减不大于 3dB.(An actual filter is implemented using the truncated unit impulse response sequence of the ideal filter. For the ideal low pass filter, the unit impulse response h, N, D () is intercepted by a length of N, and the length is The N sequence H (n), when intercepted, guarantees causality and linear phase requirements for the filter. In order to reduce the Gibbs effect, the H (n) window is added, and the appropriate window function is selected to ensure the stopband attenuation and Transition zone requirement. Note that the sidelobe of the window function affects the stopband attenuation of the filter, and the main lobe width affects the filter Transition bandwidth.)
    2017-07-06 11:55:24下载
    积分:1
  • UCA_MODE
    阵列信号处理,均匀圆阵模式空间算法,,通过虚拟阵元进行DOA估计(Array signal processing, uniform circular array pattern space algorithm, through the virtual array element to the estimated DOA)
    2008-08-21 23:46:25下载
    积分:1
  • PSO_OMP
    这是采用PSO算法算法以实现信号的正交匹配追踪分解及其重构……(This is the PSO algorithm algorithm to achieve signal orthogonal matching pursuit decomposition and its reconstruction ...)
    2013-03-03 16:07:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载