-
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
-
Applied-Econometrics-using-MATLAB
是一本英文版的关于matlab在金融领域应用的书籍,对于需要分析统计海量数据的人有一定帮助哦(This text describes a set of MATLAB functions that implement a host of
econometric estimation methods. )
- 2013-09-10 14:57:42下载
- 积分:1
-
contourlet--Digital-Watermarking
基于contourlet数字水印嵌入程序,希望对大家有帮助(Digital watermark embedding process based on Contourlet)
- 2015-04-19 16:35:19下载
- 积分:1
-
6829Car-mode
word文档,关于模糊逻辑控制汽车运动模型,欢迎大家下载(word document on fuzzy logic control motor sport model, welcome to download)
- 2013-05-25 01:34:30下载
- 积分:1
-
遗传算法
说明: 遗传算法计算最短路径问题,完成交换路径不同要求城市交换。(The genetic algorithm calculates the shortest path problem and completes the city exchange with different requirements of the exchange path.)
- 2020-12-14 16:49:14下载
- 积分:1
-
Complexmethod
基于复合形法,现采用编程来计算最优解,matlab程序和简要说明文档。(Based on the complex method, is used to calculate the optimal solution of programming, matlab program and a brief description of the document.)
- 2010-07-27 23:19:36下载
- 积分:1
-
beamformingCodes
beamformer of smart antenna
- 2011-05-01 16:42:57下载
- 积分:1
-
PSF_1_point_DAS
显示一张图,point spread function of 1 scatter,需要matlab安装Filed II simulation(show a picture of point spread function of 1 scatter )
- 2015-03-14 10:18:57下载
- 积分:1
-
PC-parallel-LPT-port-pinout
PC parallel LPT port pinout
- 2013-12-04 14:41:11下载
- 积分:1
-
VBAR
准确混合噪声的成分,使AR模型的使用范围更为广泛。(Accurate mixing noise ingredients to make use of a wider range of AR model.)
- 2014-10-29 20:00:43下载
- 积分:1