搜索资源列表
05041062
- 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用. 2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2) 3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数. 4泊松分布-1. 20 (0-1) random number distribution methods : i
normal
- 产生随机数.产生的随机数服从(0,1)正态分布-generated random number. The random number obedience (0,1) normal
randgenerator
- 一个随机数产生的MATLAB例子,内含三种随机数生成方法。[0,1]分布,N(0,1)正态分布,n个N(a,b)正态分布-a random number generated by MATLAB example, consisted of three random number generation method. [0,1] distribution, N (0,1) normal, n N (a, b) normal
log-normal
- 产生N=100个在(0,50)区间内满足对数正态分布的随机数-have N = 100 (0.50) interval to meet the lognormal distribution of random numbers
shengcheng
- 这是生成两个随机数的程序,分别服从均匀分布和正态分布
normal
- 用于生成一个正态分布的伪随机数数值序列,其中包括C/I/R-4/8等多种算法的实现
creathist
- 实现正态分布的伪随机数发生器 实现正态分布的伪随机数发生器
tre
- 实现正态分布的伪随机数发生器
FractalTerrain
- 二维的分形地形可以由一维分形曲线推广得到,首先介绍下一维分形曲线的构造模型。 已知初始线段的两个端点 ,通过随机扰动线段的中点来完成一次迭代,公式为 : 其中roughness控制当前层次的扰动量,它可以决定每次循环中,随机数值域的减少量,就是说它决定了分形结果的粗糙程度。令 上式是分形曲线模型的一般表达式,其中采用均值为0,方差为1的正态分布函数产生随机数,随着分割层次的增加,当前扰动量将以pow(2.0,-h)的倍数逐步的衰减,直到到达给定的分割层次或者被
Parzen
- Parzen窗法,由样本求概密估计,例为一维正态分布和双峰均匀分布,内附随机数生成的原理说明。
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
Rand.rar
- 随机数生成类。封装c++的rand函数,用于生成均匀、正态、伽马、贝塔、泊松、指数、几何等分布规律的随机数。 内含生成各分布的算法源码。各分布可通过ts测试。,A random number generator class. it Packages the rand function of C++,and is used to generate uniform, normal, gamma, beta, Poisson, exponential, geometric and other dis
meanshift
- 均值漂移测试程序,使用meanshift算法对随机产生的二维正态分布的随机数以及3D空间的数据进行聚类并绘图分步显示聚类过程,也可以从外部导入需要分类的数据,程序中有详尽的注释和说明,并且配有测试结果,非常适合计算机视觉、机器学习、模式识别的朋友参考-failed to translate
general-random-number-in-C-Sharp
- 在C#中,产生一般随机数用Random即可,但是,若要产生服从特定分布的随机数,就需要一定的算法来支持了,产生服从正态分布、泊松分布、指数分布以及负指数分布随机数的方法-A general random number in C#, you can use Random, but to have to obey a particular distribution of random numbers, you need a certain algorithm to support, resultin
randomsignal
- Matlab下利用同余算法产生一组伪随机数,并利用中心极限定理构造正态分布序列,验证其正态性并编写自相关函数计算其自相关-using the congruence algorithm to generate a set of pseudo-random number , and use the central limit theorem to construct a normal distribution sequence, and then verify the normality and u
zhengtaifenbu
- 利用VC编程,产生服从标准正态分布N~(0,1)的随机数,本例中以随机数矩阵形式输出,产生10*10个随机数 -The use of VC program to generate obey the standard normal distribution N ~ (0,1) random number, in this case in order to form the output matrix of random numbers to generate random number 10* 1
www
- 瑞丽信道仿真 噪声信号由MATLAB函数randn(1,N)产生,它从均值为0、方差为1的正态分布中产生N个伪随机数。每次迭代时,要使用相应的标准差对噪声的幅度进行尺度变换,最后,将输入信号和噪声信号相加得到输出信号。-Ruili channel simulation noise signal by the MATLAB function randn (1, N) generated, which from the mean 0, variance for a normal distribu
nnternal
- 用VC++6实现的一个伪随机数生成演示程序源码,包含了正态分布随机数生成和平均分布随机数两种生成方式,()
moupling_application
- 用VC++6实现的一个伪随机数生成演示程序源码,包含了正态分布随机数生成和平均分布随机数两种生成方式,(Using VC 6 to realize a pseudorandom number generation demonstration program source code, including normal distribution random number generation and average distribution random number generation met