-
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
-
SIMULINK-electronic-experiments
主要是关于电力系统的仿真实验。内容有些残缺,但是可以当做练习题。里面有一些原理图,有模型搭建图。比较有学习价值。(Mainly on the power system simulation. Some content incomplete, but can be used as exercises. There are some schematics, there are models to build map. Compare with learning value.)
- 2015-01-20 09:23:05下载
- 积分:1
-
triGauss
用matlab解三对角方程,可应用在化工、电子、机械等工程领域。(Gaussian elimination method to solve tridiagonal equation)
- 2012-01-13 15:02:59下载
- 积分:1
-
比较三种信道估计算法的MSE曲线,通过MSE来比较他们的性能
说明: 比较三种信道估计算法的MSE曲线,通过MSE来比较他们的性能(Compare MSE curves of three channel estimation algorithms)
- 2021-04-07 09:19:01下载
- 积分:1
-
NDA_EM_8psk
使用EM算法,估计8PSK调制方式下的信噪比(EM algorithm using the estimated signal to noise ratio under 8PSK modulation)
- 2010-10-22 08:24:52下载
- 积分:1
-
GSM
GSM通信原理matlab仿真,非常详细,包括了全部过程(GSM communication theory matlab simulation, very detailed, including the whole process)
- 2014-09-17 11:37:31下载
- 积分:1
-
Photonic_crystal_Two-core-POWER
基于fdtd算法的双芯光子晶体微腔,其模场分布仿真。(Based on dual-core photonic crystal microcavities fdtd algorithm, its simulation mode field distribution.)
- 2014-01-02 20:36:21下载
- 积分:1
-
Fig
说明: 使用MATLAB设计滤波器,然后下消除指定位置消除消元(Design the filter with MATLAB, then eliminate the specified position to eliminate the elimination.)
- 2020-06-23 21:00:01下载
- 积分:1
-
fenxin
基于分形维数与小波变换的区域匹配方法,通过MATLAB实施。(Based on fractal dimension and wavelet transform regional matching)
- 2010-06-29 23:02:28下载
- 积分:1
-
sd
说明: 一阶sigma delta的matlab中simulink的仿真,z域(First-order sigma delta of matlab simulation in simulink, z domain)
- 2010-04-20 21:11:40下载
- 积分:1