登录
首页 » matlab » date-calculate

date-calculate

于 2011-12-13 发布 文件大小:13KB
0 347
下载积分: 1 下载次数: 4

代码说明:

  计算这一年已经逝去的天数(包括当天)。在平年中,它的取值范围为1到365,在闰年中,它的取值范围1到366。编写一个MATLAB程序,输入年,月,日,输出为对应的该天是当年的第几天。 闰年是这样规定的 1).能被400整除的年为闰年 2)能被100整除但不能被400整除的年不为闰年 3).能被4整除但不能被100整除年为闰年 4).其余的年份不为闰年 (This year has calculated the number of days elapsed (including that day). In non-leap year, it ranges from 1 to 365 in a leap year, it s the range of 1 to 366. Write a MATLAB program, enter the year, month, day, corresponding to the output of the first year of the day is a few days. This leap is required 1) is divisible by 400 is a leap year 2) can be divisible by 100 but not divisible by 400 years is not a leap year 3) be divisible by 4 but not divisible by 100 is a leap year 4) the rest of the year is not leap year)

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

发表评论

0 个回复

  • NonLinearControl
    过程控制工程,非线性环节处理Matlab-Simulink仿真代码,内含多种情况讨论!(Process control engineering, nonlinear aspects of treatment of Matlab-Simulink simulation code contains a variety of discussion!)
    2012-06-05 21:31:02下载
    积分:1
  • CRC_encode_decode
    这是一个matlab编写的CRC冗余校验编解码程序,里面采用了美国通用的16位CRC交验多项式,(This is a matlab prepared codec CRC redundancy check procedure, which uses the U.S. General inspection of the 16-bit CRC polynomial,)
    2007-12-26 10:29:04下载
    积分:1
  • GUM
    Generized unsharp masking code in matlab
    2012-04-21 15:25:36下载
    积分:1
  • DMSV
    该程序提供了基于支持向量的判别分析的matlab实现,可应用于模式分类(Discriminant Analysis via Support Vectors)
    2015-02-02 08:00:59下载
    积分:1
  • display-and-plot-avg
    this is the code about display and plot average
    2012-10-28 09:53:33下载
    积分:1
  • yusuan
    matlab solve yusuan deng wenti (matlab solve yusuan deng wenti)
    2007-09-22 09:16:47下载
    积分:1
  • datafiltered
    This is a case where a array is introduced filtered
    2009-05-26 22:44:34下载
    积分:1
  • Introduction-of-Simulink
    MATLAB软件SIMULINK工具箱的各模块功能介绍(Features of each module SIMULINK)
    2011-04-22 10:00:24下载
    积分:1
  • IS95WGN
    使用IS-95 FIR滤波器从白噪声中滤得低通噪声,使用matlab2007b编写(Using the IS-95 FIR filter obtained from the white noise in the low-pass noise filter)
    2010-06-28 20:28:39下载
    积分:1
  • matsig-0.2.5
    基于matlab的面向对象的信号处理类库。主要应用于音频、语音信号的一些处理。内含简单的使用说明,将其添加到matlab搜索路径即可使用。(Matlab-based object-oriented signal processing class library. Mainly used in audio, voice signals in a number of treatment. Contains simple instructions to add it to matlab search path to use.)
    2008-03-17 23:34:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载