-
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
-
tezhentiqu
论文使用一种经典的特征提取方法—主成分分析法(PCA)进行特征提取,其基本思想是降维。降维后的数据除了计算工作量减少之外不会减少原始数据所包含的有效信息量。(This paper use a classical method for feature extraction—Principal Component Analysis(PCA)with the basic idea of dimensionality reduction(it still contains all valid information).)
- 2011-12-15 18:56:13下载
- 积分:1
-
pjimage.m
源码-一个实例搞定MATLAB界面编程_简单易懂适合新手。(Source- an instance to get MATLAB programming interface _ easy to understand for novice.)
- 2014-01-02 18:02:15下载
- 积分:1
-
graph-theoretical-algorithm_MATLAB-
本书系统介绍matlab图论算法,图论在规划问题中有大量灵活应用。本书适合初学者,对于数学建模参赛者也有裨益。(This book describes the matlab graph theory algorithms, graph theory, a large number of flexible application programming problem. This book is suitable for beginners, but also for the benefit of mathematical modeling contestants.)
- 2015-04-16 23:32:19下载
- 积分:1
-
testprogram
说明: 基于奇异谱的齿轮箱振动信号分析,含主程序及熵值函数。(The vibration signal analysis of Gearbox Based on singular spectrum includes main program and entropy function.)
- 2020-05-10 23:09:38下载
- 积分:1
-
MATLAB_image
matlab 图像处理pdf文件 包含许多MATLAB图像处理函数(MATLAB image)
- 2009-09-28 10:50:56下载
- 积分:1
-
lujingshibie1
采用灰度图识别路径具有快速等优点,本程序是采用matlab的灰度AGV路径识别算法(Grayscale path used to identify the advantages of a rapid, this procedure is the use of matlab gray AGV path recognition algorithm)
- 2007-12-15 00:25:44下载
- 积分:1
-
Desktop
topsis这种的向量归一化问题,实用性(topsis this vector normalized)
- 2012-07-18 22:01:22下载
- 积分:1
-
fdtd D1 tm mur
一维光子晶体计算透射率和发射率,TM模式,mur边界条件,总场散射场模式(Calculation of one-dimensional photonic crystal transmittance and emissivity, TM mode, mur boundary conditions, the total field scattered field pattern)
- 2010-12-01 16:39:33下载
- 积分:1
-
P1_B_oliveira_oliveira
Este arquivo representa um prova de dispositivos de engenharia elétrica
- 2012-06-27 00:07:28下载
- 积分:1