登录
首页 » Verilog » hulf

hulf

于 2019-06-19 发布 文件大小:256KB
0 272
下载积分: 1 下载次数: 0

代码说明:

  设计一个哈夫曼编码器 要求对一段数据序列进行哈夫曼编码,使得平均码长最短,输出各元素编码和编码后的数据序列。 ① 组成序列的元素是[0-9]这10个数字,每个数字其对应的4位二进制数表示。比如5对应0101,9对应1001。 ② 输入数据序列的长度为256。 ③ 先输出每个元素的编码,然后输出数据序列对应的哈夫曼编码序列。(Designing a Huffman Encoder Huffman coding is required for a data sequence to minimize the average code length and output the coded and coded data sequence of each element. (1) The elements that make up the sequence are the 10 digits [0-9], and each digit is represented by its corresponding 4-bit binary number. For example, 5 corresponds to 0101, 9 corresponds to 1001. (2) The length of the input data sequence is 256. (3) First output the encoding of each element, and then output the Huffman encoding sequence corresponding to the data sequence.)

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

发表评论

0 个回复

  • fiber
    说明:  主要是光纤激光器的数值模拟,代码还是需要自己理解。(Mainly the numerical simulation of fiber laser, the code still needs to be understood by oneself.)
    2020-06-24 15:20:01下载
    积分:1
  • 自动电影网址捕捉
    auto movie url capture
    2022-07-06 22:16:15下载
    积分:1
  • view
    进程模块查看 < 多任务(多进程、多线程) >(Process module view < multi-tasking (multi-process, multi-threaded)> )
    2009-04-13 13:18:41下载
    积分:1
  • jquery版小型婚礼(可动态添加祝福语
    1:场景一主要有两个功能,第一个是控制左边图片,第二个是让右边文字逐一显示。2:场景二功能简单一点,只控制左边人物出现,紧接着是文字显示。3:场景三功能控制图片弹跳显示,我用for循环控制弹跳距离。4:场景四控制图片从顶部往下滑落,停留1秒然后滑向右侧直至消失。5:场景五慢慢显现,可点击进入婚礼。6:场景六显现停留1.6秒,然后以碎片的形式向外散开。7:场景七祝福贴纸随机排布,并且可拖动祝福贴纸。8:添加祝福语中,需填写祝福语,否则不让提交。可提交的祝福语便随机散布在祝福墙中,可实现随意拖动功能
    2022-03-04 20:21:00下载
    积分:1
  • Block-recovery
    Block Recovery code - matlab(Block Recovery code- matlab)
    2009-03-30 10:59:03下载
    积分:1
  • ZigBee新设备入网过程
    ZigBee 新设备入网过程,详细解释了ZigBee的入网流程。(How does a smart home device join into the Zigbee network)
    2017-09-22 11:16:42下载
    积分:1
  • LMIs-application
    说明:  应用线性矩阵不等式(LMI)分析系统的鲁棒性(Linear matrix inequality (LMI) analysis of system robustness)
    2011-04-12 19:10:44下载
    积分:1
  • calculation of gear mesh stiffness
    用于斜齿齿轮啮合时变刚度求解,基于matlab编写源程序。(calculation of gear mesh stiffness)
    2020-07-03 12:00:02下载
    积分:1
  • Image-Steganography-ICS-project--master
    说明:  图片隐写算法实现,采用python代码实现。(Picture steganography.)
    2020-06-17 06:40:01下载
    积分:1
  • 新建文件夹
    说明:  这是我做的一个模板目前还没完成,有待加工(This is a template I've made. It's not finished yet. It's still working)
    2017-11-08 14:20:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载