-
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
-
main_program_time
切削力建模,仿真以及优化依据Altintas machining automation(cutting force modeling)
- 2020-11-17 22:09:39下载
- 积分:1
-
DSTATCOM
simulink实现DSTATCOM功能(Simulink DSTATCOM function realization)
- 2013-03-06 16:17:50下载
- 积分:1
-
Untitled
k-mean算法,使用matlab工具箱工具对图像进行聚类分割。(k-mean algorithm, using matlab clustering toolbox tool for image segmentation.)
- 2013-11-16 11:22:25下载
- 积分:1
-
4
说明: 这是一篇关于人脸检测实现及眼睛定位算法研究的文章(This is an article about Face Detection and Eye Location Algorithm article)
- 2010-05-06 19:10:34下载
- 积分:1
-
mmplay_1
编程中有的版本可能没有该功能函数,直接拷贝到工具箱里即可使用(Programming without the function of some versions may, directly copy to use can be a tool box
)
- 2015-03-29 19:37:13下载
- 积分:1
-
romp_rec_wang
这是压缩感知领域最新的romp算法。。。。。。。。。。。。。。。。。(this is the code of romp)
- 2013-05-23 23:21:14下载
- 积分:1
-
paisang_v34
采用的是脉冲对消法,计算十字叉丝的在不同距离的衍射图像,分形维数计算的毯子算法matlab代码。( It uses a pulse of consumer law, Calculation crosshairs diffraction image at different distances, Fractal dimension calculation algorithm matlab code blankets.)
- 2016-08-10 15:40:08下载
- 积分:1
-
rbf
rbf神经网络算法matlab程序m文件(rbf)
- 2009-11-27 13:54:26下载
- 积分:1
-
multi-target-tracking
多目标跟踪中的交互式多模型数据关联,仅供参考,谢谢(Interactive multi-model data association in multi-target tracking for reference only, thank you)
- 2013-01-10 08:34:04下载
- 积分:1