登录
首页 » matlab » date-calculate

date-calculate

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

  • all_attack
    针对数字图片的各种攻击方法,使用Matlab编写。(Digital images for a variety of attack methods, the use of Matlab to write.)
    2010-10-13 11:01:53下载
    积分:1
  • maximum-flow
    运筹学中的最大流与最小载问题求解matlab源程序(Operations Research in the maximum flow and minimum load problem solving matlab source code)
    2011-10-25 16:51:41下载
    积分:1
  • TSpant
    说明:  一种分组求解TSP问题的蚁群算法。非常经典。有助于初学者提高。(A division problem solving TSP Ant Colony Algorithm. Very classic. Help beginners improve.)
    2008-11-25 16:39:59下载
    积分:1
  • jiediandianya
    matlab节点电压法算电路电压,很简单的学习资料(matlab calculating circuit voltage of the node voltage method, a very simple learning materials)
    2013-10-21 23:28:08下载
    积分:1
  • SRM_CCC64
    开关磁阻电机运行仿真控制,根据判断磁链角度位置来决定定子各项绕组的开关闭合。仿真环境simulink,步长可调。(Switched reluctance motor control simulation, according to the judgment flux angular position of the stator to determine the switch is closed the winding. Simulation environment simulink, step adjustable.)
    2020-10-17 20:57:33下载
    积分:1
  • pso4
    说明:  此文件为Matlab编的一个基本pso算法,所用测试函数为 Rastingin(Matlab prepared this document for a basic PSO algorithm, used in the test function Rastingin)
    2008-11-01 21:34:47下载
    积分:1
  • regularition
    主要是利用归一化的方法进行位场边界识别,利用导数与周围最大值的比值来进行。(Mainly using the method of normalized potential field boundary identification, the use of derivative and the ratio of maximum to be around.)
    2011-05-24 15:09:47下载
    积分:1
  • impulseNoise
    向一幅图象中添加符合脉冲分布的噪声,从而为图象噪声分析提供图象噪声模板(to add an image consistent with the distribution of pulse noise, noise for image analysis template image noise)
    2007-06-26 12:24:57下载
    积分:1
  • chapter-5
    冈萨雷斯数字图像处理配套第五章matlab例程,代码里面有详细解释,适合初学者同步学习。(Gonzalez digital image processing supporting Chapter Matlab routines, the code inside a detailed explanation of the synchronous learning for beginners.)
    2013-04-27 12:18:36下载
    积分:1
  • ekts
    this application program for cimulation wiring control electro motor
    2015-03-13 01:16:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载