-
Mersenne-Twister
利用Mersenne Twister算法产生随机数,并测试和分析了其随机性。 程序中还加入了界面显示。
各个文件为:
initGenerator.m:
initGenerator函数,用于初始化随机序列的长度和值
generateNum.m:
generateNum函数,当index为0时被调用,用于创建624维的移位寄存器数组
extractNum.m:
extractNum函数,根据index当前值选择数组中的数生成随机数,同时改变index的值。
main.m:
main主函数,输入种子seed和产生数目total,输出产生结果及随机性测试结果
mymy.m和mymy.fig:
用于界面显示的部分,这两个文件会通过界面传入seed和total的值,并调用main函数,在相应的框中显示输出结果。
(According to the algorithm principle on Wikipedia, the Mersenne Twister algorithm to generate random numbers, and test and analysis of its randomness. The program has also joined the interface display.
The individual files are:
initGenerator.m:
initGenerator function used to initialize the random sequence length and value
generateNum.m:
generateNum function is invoked when the index is zero, and used to create a 624-dimensional shift register array
extractNum.m:
extractNum function, according to index the current value to select the number to generate random numbers, and change the value of the index in the array.
main.m:
main function of the input seed to seed and produce the number of total, the output generated results and the randomness of the test results
mymy.m and mymy.fig:
Part of these two files for interface display interface incoming seed and the total value of, and calls the main function, to display the output in the appropriate boxes.)
- 2012-07-22 21:51:55下载
- 积分:1
-
ds-cdma
扩频技术和cmda技术结合相结合进行通信系统的仿真(Cmda spread spectrum technology and communication technologies combining system simulation)
- 2013-11-07 22:41:59下载
- 积分:1
-
A
说明: add noise to a signal
- 2010-01-03 03:08:12下载
- 积分:1
-
BT_robot_path
基于回溯法的机器人路径规划matlab源代码,一个主程序和两个子程序组成。(Backtracking-based robot path planning matlab source code, consisting of a main program and two subroutines.)
- 2013-03-04 14:56:36下载
- 积分:1
-
pls
偏最小二乘算法matlab程序,通用的,里面有使用说明(Partial least squares algorithm matlab program, universal, there are instructions)
- 2010-09-07 14:30:00下载
- 积分:1
-
af-dfincooperationcommunication
协作通信中的af-df转发源码,matlab版本
(Cooperative communications forward in af-df source, matlab version)
- 2010-12-04 12:58:14下载
- 积分:1
-
saliency-and-trim
说明: 用于人造视觉 256*256的图像缩小到25*25 用saliency提取显著性区域 并根据设定的阈值剪裁(256* 256 for artificial visual image reduced to 25* 25 with saliency extraction of significant regional and in accordance with thresholds set tailoring)
- 2010-04-29 09:03:53下载
- 积分:1
-
BBO-Load-Balancing
利用BBO算法来优化网络负载均衡,达到很好的效果,比传统方法优越。很适合正在用智能算法优化网络映射的学者。(BBO algorithm to optimize the use of network load balancing, to achieve good results, superior to traditional methods. It is optimized for network mapping scholars intelligent algorithms.)
- 2016-07-07 16:50:42下载
- 积分:1
-
FCM
C均值模糊聚类,适用于图像分类,此为MATLAB 程序代码。(C mean fuzzy clustering for image classification, this is MATLAB code.)
- 2009-12-17 20:04:26下载
- 积分:1
-
Pdfrandom
说明: 利用matlab实现高斯分布、指数分布、正太分布等概率分布的方法。(Using matlab to achieve Gaussian distribution, exponential distribution, is too distribution probability distribution method.)
- 2010-03-21 22:58:30下载
- 积分:1