-
caishuzi
用MATLAB编写的一个猜数字游戏
就是随机生成4位数,你要在有限的步数内猜出。
用法:输入4位数字后按’ok’键,可看到当前结果。
按answer键查看正确答案
按reset键重新开始
还有很多不成熟的地方,发上来想和大家一起商量商量
主要问题:
1、步数限制功能没有完成
2、应当在显示区保留显示以前的所有步骤,但目前只能显示当前步骤
3、按键次数没有保留,无法判断你已经猜了几次
一个小bug:若输入3位数,则会自动把第一位置0
(MATLAB prepared with a game猜数字is randomly generated 4-digit, you have to step in with a limited guess. Usage: Enter the 4 digits after ' ok' button, the current results can be seen. By the answer key to view the correct answer by the reset button to restart where there are many immature, made up and we would like to discuss the main issues discussed with: 1, step 2 did not complete the functional limitations, it should be retained in the display shows all the steps before , but currently only shows the current step 3, the number keys will not be retained to determine a number of you have guessed a small bug: if the input 3-digit, it will automatically position the first 0)
- 2009-05-23 00:35:06下载
- 积分:1
-
DFP
约束问题的DFP算法,关于牛顿法的一种改进(Constraints DFP algorithm, an improvement on Newton' s law)
- 2011-05-30 22:40:58下载
- 积分:1
-
main
Example Fuzzy C-Mean clustering kddcup99
- 2012-07-05 15:35:46下载
- 积分:1
-
apriori
link data for meaning and using the program in apriori algoritm
- 2010-12-08 14:55:33下载
- 积分:1
-
analysis
immune network algorithm
- 2010-01-19 17:05:54下载
- 积分:1
-
PMC
MATLAB预测控制程序实例,有建立模型,然后进行控制仿真(MATLAB examples of prediction control procedures, has established model, and then proceed to control simulation)
- 2008-07-15 13:54:27下载
- 积分:1
-
CSP(m_function)
在目前以运动想象为基础的脑机接口(Brain-Computer Interfaces, BCI)系统中,共同空间模式(Common Spatial Patterns, CSP)方法作为一种有效的处理方法被广泛使用。本程序实现了基本的CSP算法。(failed to translate)
- 2009-12-19 23:16:20下载
- 积分:1
-
Transf
Circuit domain transformation parameters
- 2011-05-21 05:07:28下载
- 积分:1
-
HammingCodeing
hamming 码的matlab仿真(hamming code Matlab simulation)
- 2007-04-24 01:10:02下载
- 积分:1
-
AllSimuwave
matlab all sine wave functions
- 2012-01-18 18:38:21下载
- 积分:1