登录
首页 » matlab » date-calculate

date-calculate

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

  • Visual_Cryptography
    visual cryptography is very important for encryption of the data like images.
    2010-10-17 01:04:57下载
    积分:1
  • Classic-bifurcation-diagram-drawing
    本程序以洛伦兹力为例子实现了分岔图的绘制,在主程序修改可以画任意分岔图(The procedure to Lorenz for example to achieve the bifurcation diagram drawing, in the main program can draw arbitrary bifurcation diagram)
    2021-04-04 19:39:04下载
    积分:1
  • matlabbuttfilter
    利用Matlab工具对巴特沃斯模拟低通滤波器的设计结果进行了验证,Matlab程序见附页。(Matlab simulation tools Butterworth low-pass filter design results were verified, Matlab program Annex.)
    2007-04-04 09:46:58下载
    积分:1
  • DFT-and-Antinotch-for-F56F11.4
    mtlab code for finding protein coding region in DNA strand
    2012-06-15 20:58:50下载
    积分:1
  • Energy_Detection
    认知无线电能连检测法Matlab仿真 此程序检测了认知无线电能量法的性能 并绘图(CR Energy Detection matlab)
    2012-05-18 11:46:28下载
    积分:1
  • powerdqsimmat99
    simulation file for dq model for skill improvment and matlab
    2014-08-11 02:11:39下载
    积分:1
  • Radar-Using-MatLab
    Radar Systems Analysis and Design Using MatLab. 雷达入门基础教程,包含原代码。(Radar Systems Analysis and Design Using MatLab. Radar Started Essentials contains the original code.)
    2014-10-15 22:21:24下载
    积分:1
  • Datee
    对于任意三个整数,判断其是否为一个合法的日期值。给定一个日期值,计算若干天后的日期值,(For any three integers, determine whether it was a valid date value. Given a date and calculate the value of a number of days of the date,)
    2010-05-08 16:53:29下载
    积分:1
  • FDAtool
    基于MATLAB信号处理工具箱的数字滤波器设计与仿真(Digital filter design and simulation based on MATLAB Signal Processing Toolbox)
    2013-01-22 20:46:43下载
    积分:1
  • bspline
    the b-spline code for draw line
    2013-03-03 14:45:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载