-
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
-
If-Statement-Part2
An if statement for C++
- 2014-10-23 01:27:13下载
- 积分:1
-
clear
对数据进行灰色预测,用于进行气象预报、地震预报、病虫害预报等。(
To grey forecasting data, used for weather forecast, earthquake prediction, plant diseases and insect pests forecasting, etc.
)
- 2013-03-15 13:32:24下载
- 积分:1
-
crb-and-rmse
雷达交叉定位精度分析,CRB界确定,寻求最远定位距离!(Radar cross positioning accuracy analysis, CRB sector determined to seek the farthest distance positioning!)
- 2021-04-23 18:08:52下载
- 积分:1
-
linkanaylsis
此代码是卫星上行链路和下行链路预算分析,程序为matlab程序。(my english is poor.)
- 2011-12-14 21:10:57下载
- 积分:1
-
Eidos
卡方检验,通过matlab输入理论频数,直接得出检验结果(Chi-square test, through matlab input frequency theory, the test results obtained directly)
- 2020-11-16 21:09:41下载
- 积分:1
-
ddfr
pid controleur with optimisation
- 2010-11-30 22:31:09下载
- 积分:1
-
DopplerEstimate_Interp
蒙特卡洛方法估计运动目标速度的仿真,给出了仿真结果和CRLB。(Monte Carlo method to estimate moving target simulation, the simulation results and CRLB.)
- 2020-07-10 19:58:55下载
- 积分:1
-
111
MODEL OF Brussless DC Moter
- 2014-12-09 23:41:41下载
- 积分:1
-
kal
卡尔曼滤波的MATLAB程序实现,可能会不对,请指教。我实现过了。(Kalman filtering)
- 2010-07-28 14:52:01下载
- 积分:1