Welcome![Sign In][Sign Up]
Location:
Search - generator

Search list

[OtherUniform Generator

Description: Uniform Generator Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the form where `` " is the modulus operator. Such a function will generate pseudo-random numbers (seed) between 0 and MOD-1. One problem with functions of this form is that they will always generate the same pattern over and over. In order to minimize this effect, selecting the STEP and MOD values carefully can result in a uniform distribution of all values between (and including) 0 and MOD-1. For example, if STEP = 3 and MOD = 5, the function will generate the series of pseudo-random numbers 0, 3, 1, 4, 2 in a repeating cycle. In this example, all of the numbers between and including 0 and MOD-1 will be generated every MOD iterations of the function. Note that by the nature of the function to generate the same seed(x+1) every time seed(x) occurs means that if a function will generate all the numbers between 0 and MOD-1, it will generate pseudo-random numbers uniformly with every MOD iterations. If STEP = 15 and MOD = 20, the function generates the series 0, 15, 10, 5 (or any other repeating series if the initial seed is other than 0). This is a poor selection of STEP and MOD because no initial seed will generate all of the numbers from 0 and MOD-1. Your program will determine if choices of STEP and MOD will generate a uniform distribution of pseudo-random numbers. Input Each line of input will contain a pair of integers for STEP and MOD in that order ( ). Output For each line of input, your program should print the STEP value right- justified in columns 1 through 10, the MOD value right-justified in columns 11 through 20 and either ``Good Choice" or ``Bad Choice" left-justified starting in column 25. The ``Good Choice" message should be printed when the selection of STEP and MOD will generate all the numbers between and including 0 and MOD-1 when MOD numbers are generated. Otherwise, your program should print the message ``Bad Choice". After each output test set, your program should print exactly one blank line. Sample Input 3 5 15 20 63923 99999 Sample Output 3 5 Good Choice 15 20 Bad Choice 63923 99999 Good Choice
Platform: | Size: 360 | Author: samurai1x4kyo@126.com | Hits:

[Mathimatics-Numerical algorithmsrandom number generator

Description: 一个随机数发生器的代码,C++实现-a random number generator code, C++
Platform: | Size: 1024 | Author: | Hits:

[Othersignal-generator

Description: 这是一个信号发生器的labview源程序,模拟正弦波、三角波、方波等五种波形输出,频率、幅值、相位可调。 -This is a signal generator of the LabVIEW source code, analog sine wave, triangle wave, square wave output waveform five, frequency, amplitude, phase adjustable.
Platform: | Size: 10240 | Author: pf6601 | Hits:

[matlabMATLAB_Gaussian-Pepper-Noise-Generator

Description: MATLAB给图像添加高斯、椒盐、加性及乘性噪声[噪声生成]源代码Gaussian-Pepper-Noise-Generator-MATLAB——Gaussian-Pepper-Noise-Generator
Platform: | Size: 43008 | Author: 沈海宏 | Hits:

[Software EngineeringSignal-generator

Description: 关于函数信号发生器的文档,PC机用作简易函数发生器.pdf-Signal generator on the function of the document
Platform: | Size: 80896 | Author: lww1986105 | Hits:

[OpenGL programparticle-generator

Description: 一个OpenGL的粒子发生器,此粒子发生器可以生成火焰的粒子效果-An OpenGL particle generator, the generator can generate particles of the particle flame effect
Platform: | Size: 165888 | Author: sqp | Hits:

[OtherLCD-character-generator

Description: LCD汉字生成器 网上不好找的,希望对大家有用-LCD character generator
Platform: | Size: 720896 | Author: 马子007 | Hits:

[SCMgenerator

Description: 正弦波(三角波)发生器程序,可产生三角波,很实用-Sine wave (triangular wave) generator
Platform: | Size: 2048 | Author: 一泓 | Hits:

[JSP/JavaNS2-Scenarios-Generator

Description: NS2 Scenarios Generator(NSG)是一個用JAVA所寫的NS2劇本產生器,由於JAVA本身跨平台的特性,使得NSG可以在各種支援JAVA的平台上運作,目前NSG所能夠產生的劇本檔僅限於wireless ad-hoc-NS2 Scenarios Generator (NSG) is written with JAVA script generator NS2, as JAVA itself is cross-platform, which makes the NSG in the range of support JAVA platform operation, the current NSG is able to generate the script file is limited to wireless ad-hoc
Platform: | Size: 786432 | Author: lq | Hits:

[SCMCascade-brushless-doubly-fed-generator-simulation.

Description: 级联式无刷双馈发电机的仿真研究Cascade brushless doubly-fed generator simulation-Cascade brushless doubly-fed generator simulation
Platform: | Size: 290816 | Author: shengyang55 | Hits:

[Linux-UnixMy-Random-Letters-Numbers-Generator-for-Linux

Description: This is random letter and number string generator. It may be used to make passwords or strings for a project. The code may be used in any c/pp projects. This code may work on both windows and linux.-This is random letter and number string generator. It may be used to make passwords or strings for a project. The code may be used in any c/pp projects. This code may work on both windows and linux.
Platform: | Size: 1024 | Author: BMX | Hits:

[SCMAVR-Frequency-Generator

Description: 用ATMEGA8做的简易频率发生器。采用timer1的比较匹配功能产生方波,数码管显示。Proteus仿真。-Easy to do with ATMEGA8 frequency generator. Timer1 compare match function by generating a square wave, digital display. Proteus simulation.
Platform: | Size: 332800 | Author: 浩杰 | Hits:

[matlabgenerator

Description: 使用simulink建立一个脉冲信号发生器-Using a pulse generator simulink
Platform: | Size: 7168 | Author: anto | Hits:

[VHDL-FPGA-Verilogsignal-generator

Description: 基于VHDL的函数信号发生器【正弦波、三角波、锯齿波、方波】-signal generator【VHDL】
Platform: | Size: 720896 | Author: gaoyuanli | Hits:

[SCMsignal-generator-

Description: 自己做的基于proteus仿真的信号发生器设计,51单片机-Oneself do proteus simulation based on the signal generator design
Platform: | Size: 1509376 | Author: 橡皮擦 | Hits:

[JSP/Javamybatis-generator

Description: 在使用mybatis框架时可以利用mybatis-generator来帮我们自动生成Dao、Model、Mapping相关文件。(When using mybatis framework can use mybatis-generator to help us to automatically generate the Dao, the Model, the Mapping file)
Platform: | Size: 2684928 | Author: 无言123 | Hits:

[matlabsynchronous generator

Description: synchronous generator
Platform: | Size: 32768 | Author: mamaly | Hits:

[Otherqlalr-generator

Description: QLALR is LALR(1) Parser Generator
Platform: | Size: 68608 | Author: Paul88 | Hits:

[Communication-Mobilewave form generator

Description: 基于DDS的函数信号发生器,产生正弦波,方波,三角波和锯齿波(Function signal generator based on DDS generated sine wave, square wave, triangle wave and sawtooth wave)
Platform: | Size: 13504512 | Author: 哈哈哈哈何 | Hits:

[Software EngineeringSync generator

Description: sync generator pscad
Platform: | Size: 1763328 | Author: kimichin | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net