Location:
Search - program mod
Search list
Description: 提供Ns2 AODV-UU 的程式原始碼,可供WLAN 環境建立與模擬數據比較使用-provide Ns2 AODV - UU program source code, WLAN environment for the establishment and use of simulation data comparisons
Platform: |
Size: 113399 |
Author: Hsiangi Chen |
Hits:
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:
Description: Programming the Microsoft Windows driver model.2nd 随书光盘。内有很多作者送的实用工具和随书源码。WDM编程,这是由Walter Oney执笔的windows驱动开发的经典书籍,windows驱动开发者必读经典之一。本书是该书的英文第二版,相对于第一版有了很多的改进。-Programming the Microsoft Windows driver model.2nd CD with the book. Many writers have sent the practical tools and the source code with the book. WDM program, which is written by Walter Oney the windows-driven development of the classic books, Drivers windows were carefully developed one of the classics. This book is the second book in the English version, compared to the first edition has many improvements.
Platform: |
Size: 13094912 |
Author: |
Hits:
Description: 一篇关于802.16信道的文章,几个通信大牛的力作,里面还包括对于SUI信道的matlab基本仿真程序。相信对于搞无线的人,这篇文章的价值不言而喻!-a 802.16 Channel on the article, several large cattle communication ability, which also includes SUI channel for the basic Matlab simulation program. Believe engage in the wireless, the value of this article is self-evident!
Platform: |
Size: 156672 |
Author: 刘斌 |
Hits:
Description: Linux下基于Z-MODEM的串口通讯程序源码,以及开发文档-Linux-based Z-MODEM serial communication program source code, and the development of the document
Platform: |
Size: 15209472 |
Author: wingy |
Hits:
Description: 幻灯片模板,中英文齐全,非常适用的tex程序代码-Slide templates, complete in both English and Chinese, are ideally suited for the tex program code
Platform: |
Size: 2386944 |
Author: kevin |
Hits:
Description: 华为编程规范,可以从中学习编程风格,便于高效编程。-Huawei programming specifications can learn programming style, easy and efficient programming.
Platform: |
Size: 733184 |
Author: liweiyi |
Hits:
Description: mod_chm is an apache2 module that gives you possibility to explore files in CHM format. mod_chm uses chmlib by Jed Wing to access CHM files. This package also includes chmdump program that unpacks content of CHM file.
Platform: |
Size: 72704 |
Author: zeroV |
Hits:
Description: This simulink model simulates the damped driven pendulum, showing it s chaotic motion.
theta = angle of pendulum
omega = (d/dt)theta = angular velocity
Gamma(t) = gcos(phi) = Force
omega_d = (d/dt) phi
Gamma(t) = (d/dt)omega + omega/Q + sin(theta)
Play with the initial conditions (omega_0, theta_0, phi_0 = omega(t=0), theta(t=0), phi(t=0)) and the system parameters (g, Q, omega_d) and the solver parameters/method.
Chaos can be seen for Q=2, omega_d=w/3.
The program outputs to Matlab time, theta(time) & omega(time).
Plot the phase space via:
plot(mod(theta+pi, 2*pi)-pi, omega, . )
Plot the Poincare sections using:
t_P = (0:2*pi/omega_d:max(time))
plot(mod(spline(time, theta+pi, t_P), 2*pi)-pi, spline(time, omega, t_P), . )
System is described in:
"Fractal basin boundaries and intermittency in the driven damped pendulum"
E. G. Gwinn and R. M. Westervelt
PRA 33(6):4143 (1986)
-This simulink model simulates the damped driven pendulum, showing it s chaotic motion.
theta = angle of pendulum
omega = (d/dt)theta = angular velocity
Gamma(t) = gcos(phi) = Force
omega_d = (d/dt) phi
Gamma(t) = (d/dt)omega+ omega/Q+ sin(theta)
Play with the initial conditions (omega_0, theta_0, phi_0 = omega(t=0), theta(t=0), phi(t=0)) and the system parameters (g, Q, omega_d) and the solver parameters/method.
Chaos can be seen for Q=2, omega_d=w/3.
The program outputs to Matlab time, theta(time) & omega(time).
Plot the phase space via:
plot(mod(theta+pi, 2*pi)-pi, omega, . )
Plot the Poincare sections using:
t_P = (0:2*pi/omega_d:max(time))
plot(mod(spline(time, theta+pi, t_P), 2*pi)-pi, spline(time, omega, t_P), . )
System is described in:
"Fractal basin boundaries and intermittency in the driven damped pendulum"
E. G. Gwinn and R. M. Westervelt
PRA 33(6):4143 (1986)
Platform: |
Size: 8192 |
Author: Mike Gao |
Hits:
Description: 是在CCs中C54X的一个小程序,完成取余的功能-C54X in the CCs in a small program to complete the take over the function
Platform: |
Size: 28672 |
Author: lliu |
Hits:
Description: modbus的程序,参考国外网站上的modbus程序时下载的,推荐给大家使用。-modbus procedures, refer to the foreign site download modbus program and recommend it to everyone to use.
Platform: |
Size: 56320 |
Author: 张建彬 |
Hits:
Description: 8psk、16QAM等的译码程序,可以在多种环境下仿真-8psk 16QAM decoding program, you can simulate a variety of environments
Platform: |
Size: 2048 |
Author: qianjin |
Hits:
Description: 程序模块,多种单片机常用的驱动程序,液晶1602,12834,AD/DA驱动程序。-Program modules, a variety of drivers for commonly used microcontroller, LCD 1602,12834, AD/DA drivers.
Platform: |
Size: 11264 |
Author: qaz |
Hits:
Description: 本程序为仿真TD-SCDMA的调制解调过程,针对单用户使用QPSK调制,整个仿真过程在基带进行。-The program for the simulation of TD-SCDMA modulation and demodulation process, using QPSK modulation for single-user, the entire simulation process in the baseband.
Platform: |
Size: 4096 |
Author: 小怪 |
Hits:
Description: KSVD和MOD字典学习稀疏表示程序代码-KSVD, and MOD dictionary learning sparse representation of program code
Platform: |
Size: 749568 |
Author: 田洪伟 |
Hits:
Description: QPSK 调制、AWGN 信道下仿真程序,含有信源编码,信道编码,信道解码,信源解码等部分-QPSK modulation, AWGN channel simulation program, with source coding, channel coding, channel decoding, source decoding section
Platform: |
Size: 2048 |
Author: chenshuhan |
Hits:
Description: it is a program of modultion & demodulation of voice signal
Platform: |
Size: 1024 |
Author: Minar |
Hits:
Description: would you like this my program. can you download
Platform: |
Size: 2048 |
Author: baihaqi |
Hits:
Description: mod bus测试程序,很不错,直得好好学习(Mod bus test program, very good, is to study well)
Platform: |
Size: 2656256 |
Author: 深圳&仁哥
|
Hits:
Description: 该MATLAB仿真程序适用于蓄电池的充电以及放电控制(The MATLAB simulation program is suitable for battery charging and discharge control.)
Platform: |
Size: 19456 |
Author: 红瞳 |
Hits: