-
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
-
Matlab-classic-tutorial
说明: Matlab经典教程--从入门到精通,Matlab经典教程--从入门到精通(Matlab classic tutorial- from approaches to master)
- 2011-03-20 11:12:29下载
- 积分:1
-
1234
a really useful algorithm for face detection based on whatever you like
- 2013-02-19 18:22:13下载
- 积分:1
-
MATLAB-control-system
一般控制系統應用於MATLAB之指令
一般控制系統應用於MATLAB之指令(General control system used in MATLAB' s command of the general control system used in MATLAB command)
- 2011-11-28 23:08:53下载
- 积分:1
-
GrTheory
GrTheory - Graph Theory Toolbox.
Functions:
grBase - find all bases of digraph
grCoBase - find all contrabases of digraph
grCoCycleBasis - find all independent cut-sets for a connected graph
grColEdge - solve the color problem for graph edges
grColVer - solve the color problem for graph vertexes
grComp - find all components of graph
- 2014-02-06 02:17:02下载
- 积分:1
-
FDFD_pc
This MATLAB code demonstrates the finite-difference frequency-domainmethod by modeling transmission and reflectance from a photonic crystal.(This MATLAB code demonstrates the finite-difference frequency-domain method by modeling transmission and reflectance from a photonic crystal.)
- 2009-10-01 10:26:11下载
- 积分:1
-
11
说明: 《精通MTLAB最优化计算》第11章 整数规划
源码(" The most proficient MTLAB Optimization" Chapter 11 integer programming source code)
- 2011-04-18 21:51:18下载
- 积分:1
-
TP1_loi_de_bernouli
TP1_loi_de_bernouli avec matlab
- 2011-05-16 03:24:15下载
- 积分:1
-
DPD
说明: DPD一些代码优化,以及优化的一些算法说明(Some code optimizations of DPD and some algorithm descriptions of optimizations)
- 2020-12-15 11:29:13下载
- 积分:1
-
Resize_an_Image
This program helps you how to resize an Image.
- 2010-06-22 17:54:22下载
- 积分:1