登录
首页 » matlab » Mersenne-Twister

Mersenne-Twister

于 2012-07-22 发布 文件大小:565KB
0 242
下载积分: 1 下载次数: 55

代码说明:

  利用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.)

文件列表:

Mersenne Twister
................\2009211125_09210682_19_李俊.docx,605533,2012-06-16
................\Mersenne Twister
................\................\extractNum.m,347,2012-06-15
................\................\generateNum.m,457,2012-06-15
................\................\initGenerator.m,245,2012-06-15
................\................\main.m,911,2012-06-16
................\................\mymy.fig,4933,2012-06-16
................\................\mymy.m,9591,2012-06-16
................\官网代码
................\........\mt19937-2 (1).c,4687,2012-06-10
................\........\mt19937-2.c,4687,2012-06-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Islam
    know islaam better. this book clears many of the misconceptions about Islaam and throws a light on its plus points
    2009-10-03 03:35:20下载
    积分:1
  • speech_recognition_with_matlab
    说明:  用matlab强大的数学算法引擎去实现语音识别,对过去的方法进行综述,并有所创新(Using matlab powerful mathematical algorithms to realize the speech recognition engine, the past methods of synthesis and innovation)
    2008-11-04 21:04:20下载
    积分:1
  • vblast
    vblast matlab仿真,串行干扰抵消,经过matlab测试可用(vblast matlab simulation, serial interference cancellation, after the test can be used matlab)
    2013-07-29 16:40:07下载
    积分:1
  • qiaokezhuchengxu
    利用matlabGUI,在gui中编写驱动桥壳载荷计算主程序,(Using matlabGUI, write the main program for the calculation of drive axle casing load in GUI,)
    2014-09-22 11:05:03下载
    积分:1
  • Matlab
    自学matlab实用。自学Matlab必备的60个小程序代码(Matlab practical self-study. 60 small self-Matlab essential program code)
    2012-11-28 11:13:14下载
    积分:1
  • nianzu
    说明:  使用MatlaB编程,计算三维流体的粘阻,同时生成横截面的速度矢量图像(Use MatlaB programming, calculating three-dimensional viscous fluid resistance, and generate cross-sectional velocity vector images)
    2010-04-22 21:43:52下载
    积分:1
  • psoSVMcgForRegress
    Matlab使用pso进行svm参数优化寻优,得到最优svm参数,优化程序(Matlab were svm parameter optimization using pso optimization)
    2015-01-10 12:28:54下载
    积分:1
  • weibo
    Smith圆图,可以实现多种功能,用matlab仿真软件实现(Smith chart, you can achieve a variety of functions, implemented using matlab simulation software)
    2012-10-20 21:29:31下载
    积分:1
  • 9
    说明:  ex9_1 脉冲信号调制 ex9_2 载波10MHz,带宽2MHz的线性调频信号及其频谱图 ex9_3 产生7位巴克码编码的二相码 ex9_4 产生7位巴克码和线性调频的混合调制信号 ex9_5 瑞利分布实现程序 ex9_6 瑞利分布+杂波 ex9_7 相关对数正态分布杂波 ex9_8 相关weibull分布杂波 ex9_9 相干相关K分布杂波 ex9_10 线性调频信号的数字化正交解调 ex9_11 雷达脉冲压缩处理 ex9_12 二相编码信号的脉压处理 ex9_13 用FFT和FIR方法实现MTD处理 ex9_14 雷达的恒虚警处理(CFAR) ex9_15 比较相参积累和非相参积累 (ex9_1 pulse signal modulation ex9_2 carrier 10MHz, the bandwidth of the chirp signal and its spectrum of 2MHz ex9_3 Barker coding produces seven two-phase mixed signal generated code ex9_4 7 Barker code and chirp ex9_5 Rayleigh distribution to achieve program ex9_6 Swiss Lee distribution+ clutter ex9_7 related lognormal distribution clutter clutter ex9_8 related weibull ex9_9 digital quadrature coherent K distributed clutter ex9_10 chirp signal demodulation ex9_11 radar pulse compression processing two-phase pulse coded signal ex9_12 processing using FFT and FIR ex9_13 MTD processing methods to achieve ex9_14 radar CFAR (CFAR) ex9_15 relatively coherent and non-coherent integration accumulation)
    2014-03-24 10:28:45下载
    积分:1
  • SPAtest
    自己写的APS检验matlab源代码。在金融统计中应用非常广泛。共大家参考(Write your own APS test matlab source code. In the financial statistics is widely used. A total of reference)
    2013-11-11 09:57:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载