-
实现(7,4)循环码的编码和解码,生成多项式…
实现(7,4)CRC的编码和译码,其中生成多项式可以在程序中改成所需要的。输入4位码,可以编码生成7位循环码。译码的情况限于至多错一位的情形。-To achieve (7,4) cyclic code encoding and decoding, which generate the polynomials can be changed in the program need. Enter 4 yards, you can generate 7-bit cyclic code encoding. Limited to a maximum of decoding a wrong situation.
- 2022-11-26 10:55:03下载
- 积分:1
-
Find prime numbers prepared by screening the function: void sieve (bool isPrime...
编写筛选查找素数函数:
void sieve(bool isPrime[], int n)
其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数,
所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。
然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。
对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime[i]所对应的i就是素数,它们将是从筛子中掉下来的。-Find prime numbers prepared by screening the function: void sieve (bool isPrime [], int n) which isPrime [] as a Boolean array, n is the size of the array. Because 2 is the first prime number, so set the isPrime [0], and isPrime [1] a value of false, and set the initial value of the remaining elements of true. And then from 4 to n-1 for each i, to determine whether i can be divisible by 2, if i can be divisible by 2, then set the isPrime [i] is false. From 2 to n/2 possible values for each one to repeat the above processing, when the operation ended, all the true value of the isPrime [i] corresponding to i is a prime number, they will be falling from the sieve in the past.
- 2023-03-02 04:45:03下载
- 积分:1
-
进程防杀.rar 一般的杀毒软件都关不掉
进程防杀.rar 一般的杀毒软件都关不掉-The process of anti-killing. Rar general anti-virus software off can not afford to
- 2022-02-25 14:55:50下载
- 积分:1
-
xml Utility Daquan, hard to get, and that shared by everyone!
xml实用大全,好不容易弄到的,那出来大家共享了!-xml Utility Daquan, hard to get, and that shared by everyone!
- 2022-03-02 18:23:06下载
- 积分:1
-
24C02网上实例 对24C02的操作。读与写。
24C02网上实例 对24C02的操作。读与写。-24C02-line examples of the operation of the 24C02. Read and write.
- 2022-04-10 07:15:59下载
- 积分:1
-
Java SessionBean状态判断的例子
Java SessionBean状态判断的例子,代码包中的两个实例,分别对无状态SessionBean和有状态SessionBean进行了演示,请注意,Home对象是EJB对象的制作生成库,该方法生成EJB对象,value参数用于计数器的初始化,在无状态会话Bean中不能带参数。定义CountBean接口,调用每一个EJB对象的count()方法,保证Bean正常被激活和钝化。
- 2023-07-11 14:20:02下载
- 积分:1
-
atmega128 project segway autobalancing robot
atmega128 project segway autobalancing robot
- 2022-02-07 15:23:07下载
- 积分:1
-
编写用于故障诊断的粒子滤波源程序…
自己编写的粒子滤波的源码,用于故障诊断,是MATLAB语言写的,-their preparation of the particle filter source for fault diagnosis, is written in MATLAB.
- 2022-04-02 05:27:01下载
- 积分:1
-
VPR布局布线源码,集成电路中关于FPGA内部布局布线的广泛运用的部分...
VPR布局布线源码,集成电路中关于FPGA内部布局布线的广泛运用的部分-VPR placement and routing source
- 2022-03-19 21:04:07下载
- 积分:1
-
使用冥法求特征值和特征向量。
使用冥法求特征值和特征向量。-law for the use of their offerings eigenvalues and eigenvectors.
- 2022-10-27 06:15:04下载
- 积分:1