登录
首页 » matlab » caishuzi

caishuzi

于 2009-05-23 发布 文件大小:7KB
0 327
下载积分: 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 个回复

  • matlabga
    matlab应用的小程序 可以根据需要更改参数(matlab applications, applets can change parameters)
    2011-01-01 19:40:49下载
    积分:1
  • dtmf_tone
    DTMF tones in m file environment...
    2014-12-04 19:58:10下载
    积分:1
  • vector
    基于 Simulink仿真的步进电机闭环控制系统分析分析转速输出曲线,提出了加入模糊速 度前馈控制环的系统改进方案 ,系统稳定性得到较大提 高。 ( Based on the Simulink closed loop stepper motor speed control system analysis output curve analysis, proposed adding fuzzy speed Former feedforward control loop system improvement program, system stability is greatly improved.)
    2014-05-08 16:05:31下载
    积分:1
  • mimo_ofdm
    Doan in document with Matlab Code 2 MIMO
    2018-12-28 00:36:02下载
    积分:1
  • PCA-analysis
    PCA用于组成分分析,在labview下编程的,对于初学PCA有一定的帮助(PCA analysis labview)
    2013-11-07 16:42:38下载
    积分:1
  • FF-RLST
    系统辨识中的递归最小二乘参数估计的matlab程序算法(System Identification of recursive least-squares parameter estimation algorithm matlab program)
    2011-10-18 15:53:08下载
    积分:1
  • sample_template
    template for a technical paper
    2013-10-17 16:50:59下载
    积分:1
  • MATLAB_algorithm
    Matlab语言中常用的算法程序集,包含了如数值微分, 解线性方程组的迭代法等等方法,便于你学习Matlab(Matlab language commonly used algorithm assembly includes, such as numerical differentiation, solution of linear equations of the iteration method, etc., to facilitate you to learn Matlab)
    2010-07-05 20:47:46下载
    积分:1
  • ganmi
    用simulink搭建的模型参考自适应系统(use simulink)
    2012-01-11 13:30:03下载
    积分:1
  • Color_dirct_Diff
    彩色全变差图像噪声处理 matlab代码(Color total variation image denoising matlab code)
    2011-04-20 09:04:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载