登录
首页 » matlab » date-calculate

date-calculate

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

  • 3
    说明:  matlab中的关于综合问题实验方面的例子和程序(matlab problem in experiments on the synthesis examples and procedures)
    2010-10-14 18:50:34下载
    积分:1
  • ArthurCunha_thesis
    GEOMETRICAL REPRESENTATION, PROCESSING, AND CODING OF VISUAL INFORMATION
    2010-02-07 08:20:43下载
    积分:1
  • speech_enhancement_matlab_by_lx
    实验结果表明该算法对非冲击噪声效果良好。 lx_main为主程序,NS_lxwz为噪声估计模块,lxG_wz为增益估计模块,noise_sound为测试用含噪语音。 算法原理参见本人的文章《一种引入延迟的语音增强算法》。(Experimental results show that the algorithm for non-impulsive noise effect is good. lx_main the main program, NS_lxwz for the noise estimation module, lxG_wz for the gain estimation module, noise_sound to test the noisy speech. Algorithm theory see my article " delay the introduction of a speech enhancement algorithm." )
    2011-06-08 15:32:41下载
    积分:1
  • flow_around_plate
    太阳风(低密度等离子体)在带电平板周围的粒子密度、电势的PIC法模拟。(The code simulates flow of solar wind (low density plasma) over a charged plate. )
    2010-12-09 12:25:31下载
    积分:1
  • B_Spline-Matlab
    采用三阶或四阶中心B样条绘出B样条的图像,与任意信号卷积求逆将信号复原(Through the realization of third order or fourth order center B spline B spline drawn images, and any signal convolution inverse recovery signals)
    2011-04-25 10:41:44下载
    积分:1
  • Matlab-based-sound-recognition
    该文介绍了我们基于 m 删 模 型语音信号识别原理开发的连续数字音识别软件包及其程序实 现 。(this WenJie shaoxing us based on m delete mode of speech signal the principle of general don t open a few words sound hair general don t software package and its program real now)
    2011-05-26 09:25:48下载
    积分:1
  • MeshGrid2D
    This function easily plots a 2-D grid which has been generated in the computational domain and transformed to the physical domain.
    2012-09-07 18:59:00下载
    积分:1
  • RSSIzhixin4
    matlab仿真,RSSI质心加权算法,无线定位可以,可以用!(matlab simulation, RSSI weighted centroid algorithm, wireless positioning Yes, you can use!)
    2021-04-15 09:08:54下载
    积分:1
  • MATLABclasicalresource
    matlab经典算法,其中有32个文件,可实现多个算法,也可组合出更多算法。(classical algorithm matlab, including 32 files, multiple algorithms can also be combined more algorithms.)
    2013-04-17 14:52:34下载
    积分:1
  • SlidingMenu_Fragment_ex
    大名顶顶的第三方库例子SlidingMenu,在这基础上进行调用的例子,非常有特效,看起来舒服(Examples of third-party libraries Daimyo Dingding SlidingMenu, called in this example, based on highly specific, looks comfortable)
    2014-11-16 21:35:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载