登录
首页 » matlab » caishuzi

caishuzi

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

  • Billiards
    Purely elastic collisions. 纯弹性碰撞(Purely elastic collisions.)
    2012-04-27 13:54:02下载
    积分:1
  • compat
    a code written to find the different values of eeg
    2012-05-24 20:16:58下载
    积分:1
  • LSSVMlab_v17_R2009b_R2010b
    win 7可兼容,只要拷贝到toolbox里,再在matlab里选择File-->set path 找到它save 就好了(win 7 compatible, as long as the copy to the toolbox in matlab, select File-> the set path to find it save enough)
    2012-06-24 22:37:41下载
    积分:1
  • BF
    说明:  LDPC码的比特翻转译码算法,其中包含一些可用的码字,EG-LDPC码和PEG构造的码字。(The bit flipping algorithm for LDPC codes.)
    2018-07-18 10:27:30下载
    积分:1
  • Simulink
    Simulink小问题集锦 值得一看!(Simulink allehanda see a small problem!)
    2007-12-07 16:34:54下载
    积分:1
  • MotomanHP6
    这是一篇关于MotomanHP6动力学仿真的论文,对于做这个方面的人很有参考和借鉴价值,推荐(This is a dynamic simulation on the MotomanHP6 papers, for people who do this in great reference and learning value, recommended)
    2009-11-06 11:20:06下载
    积分:1
  • border
    matlab 提取 txt点云的边界,(txt point cloud boundary extraction Matlab,)
    2020-11-12 20:19:44下载
    积分:1
  • lagloop-tracking-PWM-inverter
    三相电压源型逆变器的滞环跟踪PWM的simulin模型,我使用的是matlab2012a(current lagloop tracking PWM inverter)
    2016-04-09 21:23:05下载
    积分:1
  • HB2MSM
    程序功能是将Harwell Boeing格式的稀疏矩阵转换为MATLAB中的稀疏矩阵(Program function is to convert Harwell Boeing sparse matrix format for MATLAB sparse matrix)
    2021-03-18 21:29:20下载
    积分:1
  • cp_fixed
    股票指数模拟为几何布朗运动,GBM。 参数有五个: s0,dt(time step),均值,标准差,到期时间T; 利用子函数进行10万条轨道的monte carlo 模拟到期日(3个月)的指数点数,从而估计在买入信号出现后,3个月后的损益情况,主要用来估算VAR (Financial risk analysis on Matlab monte carlo simulation, stock index simulation for geometric Brownian motion, GBM. )
    2012-05-05 23:12:24下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载