登录
首页 » matlab » date-calculate

date-calculate

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

  • matlab
    matlab入门教程,初学者可以看一下,高手就算了。(matlab Tutorial, beginners can take a look, even if the master.)
    2011-01-16 00:54:51下载
    积分:1
  • scheme2
    FLC - RLS APPROACHES/ techniques
    2011-07-07 09:41:54下载
    积分:1
  • windPMSG
    风机全功率模型,功能实现优良,最后仿真波形完全正确。(Fan full power model, functions to achieve excellent final simulation waveform entirely correct.)
    2021-01-05 11:38:55下载
    积分:1
  • a3z
    该程序为声发射三点源定位程序,根据原理公式所编(The program for the three acoustic emission source localization program, compiled in accordance with the principle of formula)
    2016-03-14 08:42:22下载
    积分:1
  • STF
    说明:  用matlab编写的强跟踪滤波器设计源码 用matlab编写的强跟踪滤波器设计源码(the source code of strong tracking filter based on matlab)
    2010-03-19 22:20:19下载
    积分:1
  • Qpsktransmitter
    源码程序,用MATLAB.m文件实现QPSK信号的调制与解调(Source program to achieve MATLAB.m document QPSK signal modulation and demodulation)
    2007-04-22 12:40:21下载
    积分:1
  • a-noive-maximum-likelihood-estimation-for-lin
    a noive maximum likelihood estimation for linear model by MLE
    2015-02-16 09:44:18下载
    积分:1
  • infor-hiding
    本程序实现了语音信号中的信息隐藏,采用DCT和LSB方法。(the information hiding technique is completed with the carrier of voice signal.)
    2011-05-25 18:55:38下载
    积分:1
  • Solving-nonlinear-programming
    求解非线性规划和服务中心的位置,服务中心的位置与其他楼房位置之间的距离不能少于30米(已经考虑了所有建筑的占地面积)。(Solving nonlinear programming and service center locations )
    2011-05-25 20:49:46下载
    积分:1
  • JQ-BP
    加氢装置分馏塔相关质量数据,用matlab建模用于预测(The hydrogenation unit fractionator quality data, matlab modeling used to predict)
    2012-10-31 20:26:15下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载