搜索资源列表
pseudorandom
- 伪随机m序列产生的VHDL语言程序- program in VHDL language for generating pseudo-random m sequence
随机数算法
- 随机数算法,包含文档和源代码-random number algorithm,including code.
高斯随机数的产生
- 程序只产生均值为0,方差为1的随机数,要产生均值为E,方差为D的随机数,只要随机数*D+E就可以了。高斯随机数程序还是带参数的,参数是用来描述正态分布的一个浮点数表。在执行程序时,先生成这个表(只做一次),而后就可以任意多次地执行高斯随机数产生程序了。使用C是为了保证通用性,如果有人觉得麻烦,可以用C++做个类,把这些东西都封装进去。另外,如果有人有兴趣,也可以把它修改成任意形式分布的连续随机数产生程序,修改非常简单,这里就不提示了。-
几种编码方式
- A. 产生一个长为1000的二进制随机序列,“0”的概率为0.8,”1”的概率为0.2;B. 对上述数据进行归零AMI编码,脉冲宽度为符号宽度的50%,波形采样率为符号率的8倍,画出前20个符号对应的波形(同时给出前20位信源序列);C. 改用HDB3码,画出前20个符号对应的波形;D. 改用密勒码,画出前20个符号对应的波形;E. 分别对上述1000个符号的波形进行功率谱估计,画出功率谱;F. 改变信源“0”的概率,观察AMI码的功率
产生随即数
- 在C/C++中,两种产生随机数的方法,random()和math.random()的比较-in C/C, two random numbers generated by the method, random () and math.random () comparison
random_shuffle()
- 假设你需要指定范围内的随机数,传统的方法是使用ANSI C的函数random(),然后格式化结果以便结果是落在指定的范围内。但是,使用这个方法至少有两个缺点-suppose you need, within specified limits, random number, the traditional method is to use ANSI C function random (), then formatted results
linuxag
- 演示了linux下的常用页面置换算法(FIFO,LRU,OPT,LFU,NUR),并计算了相应的命中率。程序用随机函数产生指令序列,然后变换成相应的页地址流。-demonstration of the commonly used algorithm replacement pages (FIFO, the LRU, OPT, LFU, NUR), and calculated the corresponding hit rate. Pr
rand2
- 虽然说生成随机数大家都知道.但是要生成指定长度.指定字符组合.随机率在1/2000000.就难了.这是我在做充值卡时写的用来生成充值时写的随机数生成器.也是原创吧.在网上找了一堆不满意,只好自己写了.-generated random number is known to all. However, to generate a specified length. Designated character portfolio. Rando
random_nor_eve
- 用VC++6实现的一个伪随机数生成演示程序源码,包含了正态分布随机数生成和平均分布随机数两种生成方式。-VC 6 achieved a pseudo-random number generator demonstration program source code, including the normal random number generation and distribution of random numbers gener
产生随机数并运算的程序b0b
- 本程序需在DOS下运行。每运行一次可执行程序random.exe,即可显示任意两个 16进制数的加法或减法表达式及其运算结果。在减法运算中,如果被减数小于减数,显示 “Divide Overflow”的提示信息。-the process required under the DOS operating. Every time running executable random.exe can display any number of
模拟退火源码
- 模拟退火算法 模拟退火算法(Simulated Annealing,简称SA算法)是模拟加热熔化的金属的退火过程,来寻找全局最优解的有效方法之一。 模拟退火的基本思想和步骤如下: 设S={s1,s2,…,sn}为所有可能的状态所构成的集合, f:S—R为非负代价函数,即优化问题抽象如下: 寻找s*∈S,使得f(s*)=min f(si) 任意si∈S (1)给定一较高初始温度T,随机产生初始状态S (2)按一定方式,对当前状态作随机扰动
10_01
- 分形算法C++ 程序:随机中点位移法生成山源代码-fractal algorithm C : random midpoint displacement method source code generated Hill
我编写的monte carlo随机数发生器检验程序
- 该程序用来检验monte carlo随机数的分布是否满足随机性要求。包括独立性检验、均匀性检验和参数检验。-procedures used to test the Monte Carlo random number distribution to satisfy the requirements randomness. Including the independence test, uniform test parameters an
CatchCreature
- “抓住它”小遊戲,a applet that plays a game called Catch the Crearure. have the crature appear at a ramdom lacation for a random durarion. the goal is to catch the creature by pressing the moouse button while the mouce pointer i
RANDOMS
- 随机数生成源代码,提供C++类和注释与一个测试例子。-random number generator source code for C and Notes with a test case.
random(mt19937)
- 一个随机数产生器(mt19937) 计算物理中Monte Carlo方法中的基本条件 周期为2^19937-a random number generator (mt19937) Computational Physics Monte Carlo methods of the basic conditions for the cycle 2 ^ 19937
loadbmp
- 图像中加入随机噪声的两种方法,1,加入椒盐噪声。2,加入随机噪声-image by adding random noise in two ways, one, by adding salt and pepper noise. 2, by adding random noise
八位的伪随机数产生的verilog文件
- 八位的伪随机数产生的verilog文件linear-feedback-shift-register-eight pseudo-random number generator in Verilog document linear-feedback- shift-register
专家选取
- 基于SQL专家随机抽取的小程序,是为某银行招标所作的!-random sample of small programs, is bidding for a bank's!
mls
- 产生伪随机噪声的MATLAB程序,在通信系统仿真可以用到-produce pseudo-random noise MATLAB procedures, the communications system simulation can be used