crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错
上传时间: 2014-01-16
上传用户:hphh
人民邮电出版社的《宽带OFDM通信技术》,pdf版本,作者王文博,不错的中文资料。
上传时间: 2013-12-12
上传用户:1101055045
DAC714是美国BB公司生产的16位高精度数模转换器,单通道。串行通讯方式。宽温。工作电压+-12V和0-10V输出。附有DAC714的中文资料和C51原代码。本人刚调试出来。精度能达到mV级别。
上传时间: 2015-10-27
上传用户:lo25643
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
java状态模型与java编程,电脑超级技巧3000 程序员开发宝典,java文档500篇! 这里面包含了四本书,是我平时的学习资料,是中文资料哦,以打包上来了,希望大家喜欢.
上传时间: 2016-03-23
上传用户:silenthink
ADuC812 是带有8 位可编程微控制器、多通道ADC、双数/ 模转换器(DAC) 的高集 成度12 位数据采集系统芯片。本文详细介绍了该芯片的功能特点和工作原理,并指出了 应用范围。(ADuC812中文资料)
上传时间: 2013-12-09
上传用户:wpt
开发nRF401最好的文档,程序调试通过,nRF2401中文资料,
上传时间: 2013-12-13
上传用户:JIUSHICHEN
用游标的方法实现对称差的计算,即 (A-B)+(B-A)
上传时间: 2016-05-23
上传用户:远远ssad
HCS12的AD转换详细讲解,中文资料,网上全是英文的,希望对大家有帮助
上传时间: 2016-06-06
上传用户:asdkin
HCS12 ECT PWM 增强型捕捉定时器模块介绍,中文资料,希望对大家有帮助
上传时间: 2016-06-06
上传用户:mikesering