The simulator GUI is started with command ui_start in Matlab command window. WLAN simulation starts by clicking the Start Simulation button in the GUI window. WLAN simulation can be terminated, before set number of packets have been reached by pressing control-C .
标签: command simulation simulator ui_start
上传时间: 2016-06-11
上传用户:sevenbestfei
Java: 在n 张扑克牌中找出顺子 题目是这样的:有n张扑克牌,每张牌的取值范围是:2,3,4,5,6,7,8,9,10,J,Q,K,A。在这n张牌中找出顺子(5张及5张以上的连续的牌),并将这些顺子打印出来。 思路:我的思路其实很简单,首先就是要去掉重复的牌,因为同样的顺子之算一个,显然JAVA中的Set很适合这个工作。同时又需要对这些牌进行排序,毫无疑问就是TreeSet了。然后从小到大遍历这些牌,并设置一个计数器count。若发现连续的牌,则count++;若发现不连续的,分2中情况:若count>4,则找到了一个顺子,存起来;反之则什么都不做。然后count=1,从新开始找顺子。下面就是代码:
标签: Java
上传时间: 2013-12-22
上传用户:hewenzhi
一个网络对弈的中国象棋程序 操作: 1、Setting,选择对战方式。如果选择“网络对战”,进入“2”,否则,进入“3”。 2、connect,只在“网络对战”第一盘是需要。 3、set rule,设置计时规则。 4、start,开始下棋。
上传时间: 2014-10-13
上传用户:gtf1207
C++STL STL(Standard Template Library,标准模板库)是惠普实验室开发的一系列软件的统称。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普实验室工作时所开发出来的。现在虽说它主要出现在C++中,但在被引入C++之前该技术就已经存在了很长的一段时间。 STL的代码从广义上讲分为三类:algorithm(算法)、container(容器)和iterator(迭代器),几乎所有的代码都采用了模板类和模版函数的方式,这相比于传统的由函数和类组成的库来说提供了更好的代码重用机会。在C++标准中,STL被组织为下面的13个头文件:<algorithm>、<deque>、<functional>、<iterator>、<vector>、<list>、<map>、<memory>、<numeric>、<queue>、<set>、<stack>和<utility>。以下笔者就简单介绍一下STL各个部分的主要特点。
标签: STL Standard Template Library
上传时间: 2016-06-20
上传用户:cylnpy
Of the password is: Server: "1." Client: + for the month of the date of the machine. Such as "2005/08/05", compared with the number "85" Database: "xzxq". I made the changes: 1, stations and customer-service once every 30 seconds to exchange information (to ensure continuous line) 2, computer services-an increase of the serial number 3, client-service to send the card serial number and send IP addresses to the service side 4, the desktop client by the embargo, since the definition of the icon to start the process faster (from the window Superman Code) 5, CS-shielding some function keys, but CTRL + ALT + DEL keys can not shield the hope that a revised modify these friends 6, there are some corners of Laws (such as title, etc.). Client desktop icon in the Settings page set up first class to enter FXZWN999 open on to add, delete icon button
标签: the password machine Client
上传时间: 2016-06-27
上传用户:xsnjzljj
Description: This program demonstrates a half-duplex 9600-baud UART using // Timer_A3 using no XTAL and an external resistor for DCO ROSC. DCO used for // TACLK UART baud generation. The program will wait in LPM4, echoing back // a received character using 8N1 protocol. On valid RX character, the // character is echoed back. // Using a 100k resistor on ROSC, with default DCO setting, set DCOCLK ~ 2MHz. // ACLK = n/a, MCLK = SMCLK ~2MHz DCOCLK
标签: using demonstrates Description half-duplex
上传时间: 2014-01-14
上传用户:cuiyashuo
Coaxial feed structures are widely used in ultra-wide band antennas . This paper modeled the characteristic of the monopole antenna feeded by coaxial line by FDTD in the time-domiain,which showes that . Firstly, it introduced the theory of the arithmetic and the particularly realization in the calculation then it described the use in the time-domain finally it analysed several characteristics of the monopole antenna. The arithmetic used in the microstrip antenna is also a quick and economical way to design the antenna.
标签: structures ultra-wide antennas Coaxial
上传时间: 2016-06-28
上传用户:朗朗乾坤
the PID about matlab,matlab Fuzzy-Programming
上传时间: 2014-01-16
上传用户:yuchunhai1990
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。 (1) n∈set(n); (2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半; (3) 按此规则进行处理,直到不能再添加自然数为止。 例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6个元素。
标签:
上传时间: 2014-01-17
上传用户:rishian
文件来源: 我的毕设 仿真结果: 在窄带Rayleigh快衰落信道下几种检测方法的误码率性能比较 说 明: 参数tx,rx,L,EbN0可以根据需要更改。 tx,rx是收发天线数,根据需要取值就好了,一般研究2发2收和4发4收 EbN0是信噪比取值范围,根据需要选择吧。取得点多当然算得慢。 L影响结果的波动性和误码率所能达到的下限,L值取得越大图像越接近真实情况。如果 EbN0最大值有20dB那么误码率可以达到10负4次方建议L不低于10000。 使用方法: 把db.m和minnorm.m存进任意文件夹,然后打开matlab,File->Set Path->Add Folder加入 文件夹。在matlab中输入命令db即可
上传时间: 2014-01-13
上传用户:ynzfm