ARMSYS44B0-P嵌入式系统开发板使用说明书.pdf
上传时间: 2014-11-26
上传用户:zhanditian
//Euler 函数前n项和 /* phi(n) 为n的Euler原函数 if( (n/p) % i == 0 ) phi(n)=phi(n/p)*i else phi(n)=phi(n/p)*(i-1) 对于约数:divnum 如果i|pr[j] 那么 divnum[i*pr[j]]=divsum[i]/(e[i]+1)*(e[i]+2) //最小素因子次数加1 否则 divnum[i*pr[j]]=divnum[i]*divnum[pr[j]] //满足积性函数条件 对于素因子的幂次 e[i] 如果i|pr[j] e[i*pr[j]]=e[i]+1 //最小素因子次数加1 否则 e[i*pr[j]]=1 //pr[j]为1次 对于本题: 1. 筛素数的时候首先会判断i是否是素数。 根据定义,当 x 是素数时 phi[x] = x-1 因此这里我们可以直接写上 phi[i] = i-1 2. 接着我们会看prime[j]是否是i的约数 如果是,那么根据上述推导,我们有:phi[ i * prime[j] ] = phi[i] * prime[j] 否则 phi[ i * prime[j] ] = phi[i] * (prime[j]-1) (其实这里prime[j]-1就是phi[prime[j]],利用了欧拉函数的积性) 经过以上改良,在筛完素数后,我们就计算出了phi[]的所有值。 我们求出phi[]的前缀和 */
上传时间: 2016-12-31
上传用户:gyq
C语言 对于给定的消息序列,按照模p信道编码 p=37(符号的个数) 数字“0”-“9”和字母“A”-“Z”和空格共37种符号。 “0” 0 “1” 1 ¨ “A” 10 “B” 11 设有某消息的符号序列为X=X1X2X3X4, 用下表的方式来求它们的和及累加和,然后加上适当的监督元,使累加和是模37的倍数
上传时间: 2016-12-31
上传用户:ljmwh2000
计算Mel倒谱系数的matlab程序: MELCEPST Calculate the mel cepstrum of a signal C=(S,FS,W,NC,P,N,INC,FL,FH) 使用: c=melcepst(s,fs) % calculate mel cepstrum with 12 coefs, 256 sample frames
标签: Calculate MELCEPST cepstrum matlab
上传时间: 2017-01-04
上传用户:youmo81
A novel met hod t o p artially compensate sigma2delta shap ed noise is p rop osed. By injecting t he comp en2 sation cur rent int o t he p assive loop f ilte r during t he delay time of t he p hase f requency detect or ( PFD) , a maximum reduction of t he p hase noise by about 16dB can be achieved. Comp a red t o ot he r compensation met hods , t he tech2 nique p rop osed he re is relatively simple and easy t o implement . Key building blocks f or realizing t he noise cancel2 lation , including t he delay va riable PFD and comp ensation cur rent source , a re sp ecially designed. Bot h t he behavior level and circuit level simulation results a re p resented.
标签: sigma2delta compensate injecting artially
上传时间: 2013-12-18
上传用户:qlpqlq
The invention of the compound additive for alkaline PH value of more than 13 strong base will not only be able to prevent soil acidification, can effectively improve the soil acidic, as well as the rich soil of minerals, in the air to absorb the carbon and nitrogen for The use of plants.
标签: invention compound additive alkaline
上传时间: 2013-12-08
上传用户:xauthu
求解抛物型方程的交替隐方向P-R差分格式的matlab程序实现。不过大家在用的时候要用到原函数f.m和精确解函数uexact.m,应用程序的时候只要修改精确解和右端项就可以了。
上传时间: 2013-11-25
上传用户:hewenzhi
周立功SMARTARM2300源码 P
上传时间: 2014-01-24
上传用户:小鹏
详细介绍了P/N结测温的原理和方法,对于从事温度测量的人员有一定的参考价值。
上传时间: 2017-01-13
上传用户:wab1981
自己可以通过设置P,I,D 参数来看看PID调节的效果。
标签:
上传时间: 2017-01-16
上传用户:亚亚娟娟123