-
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
-
ImagePRotationPCorrection
说明: matlab 写的图像校正程序,实现图像校正的源代码(image correction program written in matlab)
- 2011-03-24 10:12:44下载
- 积分:1
-
DCcontantvoltage
直流微电网恒压控制,可以在孤岛运行模式维持直流母线电压恒定(DC Contant Voltage Control)
- 2014-12-09 21:04:02下载
- 积分:1
-
kalman_introduction
The classical filtering and prediction probl em is re-examined using the Bode-
Shannon representation of random processes and the “state transition
- 2015-03-15 00:01:52下载
- 积分:1
-
Agenda
An Agenda for contacts
- 2014-08-20 17:37:24下载
- 积分:1
-
Gradientface
梯度脸,人脸识别光照处理,解决不同光照下的人脸识别(Gradientface: for face recogntiion under varying illumination)
- 2011-10-26 10:46:49下载
- 积分:1
-
ex11_GPC_NoIden
使用matlab识别船行的轨迹和运行效果。(Use matlab find shipping way。)
- 2013-10-21 19:19:00下载
- 积分:1
-
bandstructure
用Matlab计算负折射率Fibonacci材料的能带(Calculated using Matlab Fibonacci materials with negative refractive index band)
- 2010-08-09 17:28:53下载
- 积分:1
-
matlab
从初值出发,先计算y对时间t的导数,得到y的变化速度;求出x对t的导数,得到x随时间的变化速度。然后时间前进一小步h=0.002,同时x和y也都发生一个小的变化,即在原来数值基础上加上时间步长h和变化速度的乘积。如果x到达1或者-1,强制让y发生变化。这个过程不断迭代,得到结果。
(completed chart)
- 2014-11-28 19:50:30下载
- 积分:1
-
IIR
用MATLAB下面的simulink库里的dsp builder搭建了一个图形化的iir滤波器模型(Using MATLAB simulink library following the dsp builder to build a graphical model of iir filter)
- 2020-12-02 20:09:25下载
- 积分:1