登录
首页 » matlab » date-calculate

date-calculate

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

  • OFDM_send_matlab
    说明:  matlab发送端程序,256位FFT,16QAM-OFDM,最后有时域和频域图形显示(matlab sender program, 256 FFT, 16QAM-OFDM, the last times and frequency domain graphics)
    2011-02-27 19:01:18下载
    积分:1
  • MF-new
    this code is of median filtering. this code is only for 3x3 window.
    2011-06-03 03:47:27下载
    积分:1
  • Numerical-analysis
    数值计算方法中的一些基本重要的数值算法,包括非线性方程组的求解,微积分等(Some basic numerical methods numerical algorithm, including non-linear equations, calculus)
    2013-01-22 11:15:49下载
    积分:1
  • sanxiangpwm
    三相pwm电路matlab仿真,已经试过可以使用(three pwm)
    2014-11-26 17:10:47下载
    积分:1
  • NonlControl
    一个非线性控制比较通用的maltab工具箱,适用于研究非线性控制的学者。(A more general maltab nonlinear control toolbox for nonlinear control research scholar.)
    2010-09-19 11:22:07下载
    积分:1
  • work
    Inverted pendulum using fuzzy
    2010-02-06 13:09:06下载
    积分:1
  • GMM-GMR-v1[1].2
    这是一个GMM模型的语音识别代码 非常详细 而且实用。(This is a GMM model for speech recognition is very detailed and useful code.)
    2010-08-16 09:23:47下载
    积分:1
  • quaternion
    四元数c++软件类库,四元数基本运算,非常好用(Quaternion c++ Software library, quaternion basic computing, very easy to use)
    2008-06-26 15:07:05下载
    积分:1
  • Matlab-for-Engineers-a-Scientists
    matlab book. goood book. good book. good book
    2012-03-25 20:59:08下载
    积分:1
  • cztdetectfrequency
    用于一般访求不能达到分辨率的频率检测方法,可以高精度检测频率。尤其是对于分辨率达不到要求的时候,用此方法能达到很高的分辨率。对有用频段的频率进行高分辨率的细化。(Usually visit requirements can not achieve the resolution of the frequency detection methods, and can be detected with high precision frequency. Especially for the resolution of failing to meet required when using this method can achieve high resolution. Useful frequency band high-resolution refinement.)
    2012-11-06 18:03:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载