首先,计算出码元符号集中各个码元的累积概率,并存放在F数组里面。 然后,开始循环编码,直至输入序列循环完毕。 最后,将所得的累计概率由小数形式转化成二进制形式。 对解码。首先,计算码元符号集中各个码元的累积概率,并存放在F数组里面。 然后,开始循环解码,此次循环是在码元符号集中,由高概率码元向低概率码元循环,这是由于编码的输出肯定是不大于高概率码元的累积概率的。那么如果我们从高到底循环,所找到的第一个小于编码结果fs的码元即为所译码的码元。 最后,我们可以利用此码元在码元符号集中的位置和其概率分布数组中的位置是一一对应的性质,找到码元并复制到输出数组中去即可。
标签:
上传时间: 2017-04-11
上传用户:cooran
-- 本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在 --PC机上安装一个串口调试工具来验证程序的功能。 -- 程序实现了一个收发一帧10个bit(即无奇偶校验位)的串口控 --制器,10个bit是1位起始位,8个数据位,1个结束 --位。串口的波特律由程序中定义的div_par参数决定,更改该参数可以实 --现相应的波特率。程序当前设定的div_par 的值是0x104,对应的波特率是 --9600。用一个8倍波特率的时钟将发送或接受每一位bit的周期时间 --划分为8个时隙以使通信同步. --程序的工作过程是:串口处于全双工工作状态,按动SW0,CPLD向PC发送“welcome" --字符串(串口调试工具设成按ASCII码接受方式);PC可随时向CPLD发送0-F的十六进制 --数据,CPLD接受后显示在7段数码管上。
上传时间: 2017-04-12
上传用户:lgnf
This code helps to fuse pet and ct scan images.The file untitled.m opens the interface to load and fuse.Demo images are provided in the folder for reference.This code achieved a performance of .7/1
标签: and interface untitled images
上传时间: 2014-01-26
上传用户:jhksyghr
LPC vocoder LPC vocoder with several option Graphical user interface Also included several .wav file as example
标签: vocoder several LPC Graphical
上传时间: 2013-12-18
上传用户:lifangyuan12
MATLAB implementation of time series prediction Based on the VQTAM method described in the following papers: G. A. Barreto & A. F. R. Araujo (2004) "Identification and Control of Dynamical Systems Using the Self-Organizing Map" IEEE Transactions on Neural Networks, vol. 15, no. 5.
标签: implementation prediction described following
上传时间: 2013-12-22
上传用户:windwolf2000
This project shows the temperature on a three digit 7-segment display, it measures the temperature from -9.5 to 99 degrees Celcius in 0.5 C steps, or from 0 to 210 degrees Fahrenheit in 1.0 degrees steps. Because of the LED display the temperature is also readable in the dark.
标签: temperature the measures project
上传时间: 2017-04-16
上传用户:xuanjie
ST20 Embedded Toolset R2.3.1用于开发基于ST20芯片机顶盒软件的开发平台!是目前国外能下载到的最高版本。从http://slugworth.mylivepage.com/file/210_General下载的
标签: mylivepage slugworth Embedded Toolset
上传时间: 2013-12-22
上传用户:lo25643
垃圾文件清理: 垃圾文件清理: 垃圾文件清理 Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD
标签: Programs Windows rd_dir Clean
上传时间: 2017-04-21
上传用户:lanhuaying
数字信号处理_胡广书(笫二版)光盘 包含该书的一些C,F,和Matlab子程序代码
上传时间: 2017-04-23
上传用户:lo25643
为减少测试数据存储量,提出一种有效的新型测试数据压缩编码———PTIDR 编码,并构建了基于该编码的 压缩P解压缩方案1 PTIDR 编码能够取得比FDR ,EFDR , Alternating FDR 等编码更高的压缩率,其解码器也较简单、 易实现,且能有效地降低硬件开销1 与Selective Huffman , CDCR 编码相比,PTIDR 编码能够得到较高的压缩率面积 开销比1 特别地,在差分测试集中0 的概率满足p ≥017610 时,PTIDR 编码能取得比FDR 编码更高的压缩率,从而 降低芯片测试成本1
标签: PTIDR Alternating EFDR 编码
上传时间: 2013-12-02
上传用户:yyyyyyyyyy