登录
首页 » matlab » caishuzi

caishuzi

于 2009-05-23 发布 文件大小:7KB
0 290
下载积分: 1 下载次数: 5

代码说明:

  用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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • RSA
    说明:  密码学中RSA算法的MATLAB实现。包含算法说明及程序验证。(Cryptography RSA algorithm MATLAB implementation. Contains the algorithm description and program verification.)
    2010-03-17 15:01:15下载
    积分:1
  • Matplotlib
    介绍matplotlib编程的一本电子书籍,讲解生动,由浅入深。(An electronic book that introduces matplotlib programming. )
    2012-05-05 11:08:22下载
    积分:1
  • gls.tar
    关于全局优化的Matlab程序,包含局部最优化(On global optimization in Matlab, including local optimization)
    2011-09-03 19:25:47下载
    积分:1
  • formation-of--waves
    根据横波纵波的原理演示横波与纵波的形成过程(formation of transverse and longitudinal waves)
    2011-09-27 22:51:05下载
    积分:1
  • ch331
    U盘控制芯片CH331,CH331 是一个小容量U 盘的控制芯片,只要外加一个串行存储器芯片,就可以实现2KB 到512KB 的小容量U 盘。(U disk controller IC CH331, CH331 is a small-capacity USB control chip, As long as plus a serial memory chips, we would achieve 2 KB to 512 KB of small U disk capacity.)
    2006-10-18 00:58:05下载
    积分:1
  • mobileface_220912.src
    moblie chatting application used for the nokia, samsung and other
    2015-01-21 16:49:44下载
    积分:1
  • Matlab-For-Engineers-And-Scientists-(Third-Editio
    Matlab For Engineers And Scientists (Third Edition ,2008)
    2011-12-12 04:21:41下载
    积分:1
  • Proficient-in-Matlab-and-C-CPP-V2
    matlab与VC++混合调用的经典教程(Classic tutorial matlab mixed with VC++ call)
    2015-03-02 10:19:14下载
    积分:1
  • optimization_matlab
    该文档为matlab平台下实现的约束优化经典源码,可以有效求解约束问题(Constrained Optimization classic source, the document matlab platform for researchers studying related)
    2013-04-13 15:07:12下载
    积分:1
  • Matlab_For-Dummy
    说明:  Matlab中文参考手册,可以作为函数的说明(Matlab Manual in Chinese)
    2011-02-28 17:43:49下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载