-
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
-
dynamic_edge
该程序是对一个二值图像的一个动态边界算法,希望对大家有帮助。(The program is a binary image of a dynamic boundary algorithm, we want to help.)
- 2011-09-26 20:35:46下载
- 积分:1
-
static_basic_use
对工作目录中已有的数据进行载入(load),数据的调用和存储(save),以及简单画图。(static base use of load and save .)
- 2012-08-13 20:31:17下载
- 积分:1
-
Not-including-noise-in-ECG-signal
给模拟心电信号加高斯噪声,分别用切比雪夫滤波器,巴特沃斯滤波器,维纳滤波器对其消噪(To the analog ECG signal and Gauss noise, respectively using the Chebyshev filter, Butterworth filter, Wiener filter to the noise elimination)
- 2012-05-02 14:30:44下载
- 积分:1
-
myLDA923
实现lda分类,在实验中运行效果很好,优于PCA(used in lda classification,get good performance in test,better than PCA)
- 2009-09-23 21:28:01下载
- 积分:1
-
rsbianma
本代码在matlab下实现rs编码并加入噪声 以及纠错编码(Under this code in matlab coding realize rs and add noise and error correction coding)
- 2008-06-07 09:17:26下载
- 积分:1
-
C_andMATLAB
C_与MATLAB混合编程(英文版),讲解如何用C与MATLAB的混合编程运用。(C_ mixed with the MATLAB programming (English))
- 2009-05-28 13:32:43下载
- 积分:1
-
lvlingam-1.1
用于隐藏向量分析的软件包及源码。独立成分分析算法的最新进展。(
This Matlab package handles LiNGAM models with latent variables.
The package contains the full code for all the experiments )
- 2013-03-28 09:56:23下载
- 积分:1
-
work
基本的卡尔曼滤波算法,对于初学卡尔曼滤波的来说比较容易看懂(kalman fitler)
- 2015-04-22 21:17:29下载
- 积分:1
-
centered_difference_numerical_diff
Implementation of the centered difference method for numerical differentiation.
Evaluation of the derivative of the following functions (numerically)
f(x) = 0.3x^2 + x*exp(sin(2x)), for − 6 <= x <= 6(Implementation of the centered difference method for numerical differentiation.
Evaluation of the derivative of the following functions (numerically)
f(x) = 0.3x^2+ x*exp(sin(2x)), for − 6 <= x <= 6)
- 2009-11-26 21:20:10下载
- 积分:1