-
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
-
youyuandianlilvboqi
有源电力滤波器模块,可以进行谐波抑制以及无功补偿,可以用于逆变器输出滤波器(Active power filter modules, the reactive power compensation and harmonic control, can be used for inverter output filter
)
- 2021-04-23 14:28:48下载
- 积分:1
-
tremolo
数字吉他效果器仿真之TREMOLO(颤音效果)(TREMOLO simulates a guitar tremolo stomp box)
- 2021-02-06 18:59:56下载
- 积分:1
-
generateAR1
Generate AR(1) process for a given AR(1) coefficient.
- 2021-03-31 14:59:09下载
- 积分:1
-
fingersprint-identity-code
基于Matlab编程的指纹识别代码中的细化部分代码(Matlab-based fingerprint identification code programmed in the refinement part of the code)
- 2011-11-06 20:49:35下载
- 积分:1
-
multiuser
本matlab代码主要设计卡尔曼滤波以及多用户检测相关问题(The matlab code design of Calman filter multiuser detection problem)
- 2012-01-07 10:47:49下载
- 积分:1
-
ChaosToolbox1p3_trial
时间序列分析G-P method to calculate the correlation dimension of Matlab (Mex version) not use "temporary separation," use of the correlation integral Mex documents fast(Time Series Analysis GP method to calculate the correlation dimension of Matlab (Mex version) not use )
- 2008-03-19 16:09:59下载
- 积分:1
-
gpsmatlab
this is a Use full Intoroduction to MATLAB Gps toolbox with examples
- 2011-07-02 17:24:19下载
- 积分:1
-
line
matlab程序,利用Hough变换进行线提取。有图,可直接运行查看效果!(matlab procedures, the use of Hough transform for line extraction. There are maps, can be run to view results!)
- 2009-06-05 17:21:22下载
- 积分:1
-
xiaobofenxi1
说明: 有关MATLAB中小波的分析,大家一起分享,希望能对你有帮助(The MATLAB' s edge detection process, to share with everyone, hope you can help)
- 2010-04-24 18:15:09下载
- 积分:1