登录
首页 » matlab » date-calculate

date-calculate

于 2011-12-13 发布 文件大小:13KB
0 342
下载积分: 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 个回复

  • EFG Liu
    EFG 2D problems cantilever beam
    2018-08-27 12:18:25下载
    积分:1
  • cr
    说明:  对认知无线电算法的详细论述,有利于初学认知无线电的人(Cognitive radio algorithms to detail and is conducive to learning cognitive radio people)
    2009-05-25 20:09:19下载
    积分:1
  • MATLAB1
    MATLAB 常用函数参考 MATLAB 程式设计与应用(MATLAB function reference used MATLAB programming and application )
    2010-01-08 23:53:58下载
    积分:1
  • Round_tset
    基于均匀圆阵的并在载体方位上LCMV算法仿真(Based on uniform circular array and the carrier bearing on LCMV algorithm simulation)
    2011-07-31 16:46:11下载
    积分:1
  • Fengsu
    用HOMER软件画出的某地区一年每小时的风速,将其导出为文本格式,可导入到MATLAB中供研究人员使用(HOMER software to draw a region with a year hourly wind speed, export it to a text format that can be imported into MATLAB for researchers)
    2020-12-25 15:59:05下载
    积分:1
  • yundongjiance
    matlab 用于实现图像目标检测的源码,可以实现目标的跟踪(Matlab for realizes image target detection, can achieve the goal of source code tracking )
    2011-05-29 10:58:46下载
    积分:1
  • gaussmix
    gmm distribution writer
    2010-09-01 18:30:05下载
    积分:1
  • MATLAB
    说明:  非常全的matlab源代码,很好很强大很实用(All of the matlab source code is very, very good very strong very practical)
    2010-04-22 16:59:08下载
    积分:1
  • microondas
    interpolacion datos recolectados de ondas microondas
    2011-06-28 06:26:28下载
    积分:1
  • any_paraboloid_fit
    输入抛物面的一组三维离散点坐标,采用最小二乘算法拟合该抛物面方程(Enter a set of three-dimensional parabolic coordinates of discrete points, using least squares algorithm to fit the parabolic equation)
    2015-05-13 21:46:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载