登录
首页 » matlab » date-calculate

date-calculate

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

  • TDOA
    双站交叉定位误差展示程序 产生观测数据 假设被定位对象匀速地从A点(dx1,dy1)运动到B点(dx2,dy2),单位:km 使用速度输入V(km/h),则dx2=V*t,t为观测时长(h) dy1=dy2=R,目标距离 假设采样时间间隔为1h(Bistatic cross-positioning errors show program)
    2012-04-09 20:42:14下载
    积分:1
  • shiyan6
    周期图法估计平稳随机信号功率谱的MATLAB实现 周期图法估计平稳随机信号功率谱的MATLAB实现(Periodogram method to estimate the power spectrum of the stationary random signal MATLAB implementation)
    2012-05-04 12:48:49下载
    积分:1
  • duojiRLS
    系统辨识中的多级最小二乘法,用于进行系统参数辨识(System identification in multi-level least-squares method for system parameter identification)
    2011-08-16 22:10:43下载
    积分:1
  • ComputationalIntelligenceIntro
    Provides a comprehensive introduction to the study of computational intelligence.
    2014-10-06 23:21:46下载
    积分:1
  • faceDetectorTemplate
    matlab file for face detection
    2013-03-11 22:22:13下载
    积分:1
  • matlab-help
    说明:  matlab help,很不错的教程,对你一定会有帮助(GOOD)
    2010-04-15 08:34:36下载
    积分:1
  • shifenge
    该模型用于搭建了一个基于时分割乘法器的电子式电能表的模型()
    2008-03-30 10:12:24下载
    积分:1
  • ifs
    利用matlab作的分形IFS(迭代函数系统),里面包括了几个常用的IFS code(Matlab for the use of the fractal IFS (Iterated Function System), which includes several commonly used IFS code)
    2009-04-23 19:09:16下载
    积分:1
  • tiscoo
    matlab应用于数学认真阅读然后直到其具体功能(applied mathematics matlab read until its specific function and then)
    2009-05-14 19:58:04下载
    积分:1
  • modeling-and-simulation-of-matlab
    matlab模型与仿真教程,适合初学者和科研工作者学习(Matlab model and simulation tutorials, is suitable for beginners and research workers learning)
    2011-05-06 17:06:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载