-
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
-
matlab2010a
最新Matlab2010教程,里面附有很多实例,学习很方便(Latest Matlab2010 tutorial, which with many examples, it is easy to learn)
- 2011-12-06 14:12:45下载
- 积分:1
-
yasuoganzhi
压缩感知程序,利用CS对一维信号进行完美重构,适合稀疏信号(Compressed sensing applications, the use of CS for one-dimensional signal is perfect reconstruction, suitable for sparse signal)
- 2015-06-30 20:22:47下载
- 积分:1
-
dace
dace工具箱可以对样本数据进行克里金建模(Dace toolbox can be used to model sample data in Kriging)
- 2018-12-06 10:48:48下载
- 积分:1
-
adaptive-lms
有源自适应噪声的最常用算法,该算法是基于滤波器的输出信号与期望响应之间的误差的均方值为最小。(Active adaptive noise most commonly used algorithm, which is based on the error between the filter output signal and the desired response minimum mean-square value.)
- 2013-03-20 20:25:16下载
- 积分:1
-
SlidingMenu_Fragment_ex
大名顶顶的第三方库例子SlidingMenu,在这基础上进行调用的例子,非常有特效,看起来舒服(Examples of third-party libraries Daimyo Dingding SlidingMenu, called in this example, based on highly specific, looks comfortable)
- 2014-11-16 21:35:14下载
- 积分:1
-
lp_solve_5.1_MATLAB_exe
运用分枝定界法求解混合整数规划的matlab程序- Use the branch and bound method for solving mixed integer programming procedures (Use the branch and bound method for solving mixed integer programming procedures )
- 2015-02-06 00:57:03下载
- 积分:1
-
EE13M1016_A4
The matlab code describes different schemes to store the sparse matrix of a given power system network.
- 2014-11-14 19:46:57下载
- 积分:1
-
pitch_contour_autocorrelation
this program estimated the pitch contour of a given speech signal.
- 2013-11-09 22:35:29下载
- 积分:1
-
meitiandizhe
一篇有关煤田与地震相关性的文章,希望对大家有帮助(One relating to coal and seismic correlation article, I hope to help everyone)
- 2015-03-26 10:01:37下载
- 积分:1