登录
首页 » matlab » date-calculate

date-calculate

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

  • UWB_Analysis
    说明:  对uwb的ppm调制的时域和频域进行分析,画出它的图形(ppm of UWB modulation of the time domain and frequency domain analysis, to give its graphics)
    2005-12-06 17:43:15下载
    积分:1
  • random-search
    while modeling a discrete event problem you may need to know how to create a random num.
    2011-08-06 17:06:13下载
    积分:1
  • Boukerche-2011-ComputerNetworks
    journal with respect to research work with some related work on routing in networks.
    2014-09-04 16:43:52下载
    积分:1
  • HUESEFA
    模糊层次会关联分析法,很好的评价方法主客观结合复制(The fuzzy hierarchy will relational analysis, a good evaluation methods)
    2013-03-29 16:22:55下载
    积分:1
  • 6
    说明:  一阶微分算子 一阶微分算子常用的有 roberts 算子、sobel 算子和 prewitt 算子(First-order differential operators of first-order differential operator used the roberts operator, sobel operator and prewitt operator)
    2013-04-12 16:50:23下载
    积分:1
  • cruise_control_PI
    汽车车辆巡航PI自动控制,含汽车动力学模型(vehicle cruise control, PI algorithm)
    2012-01-25 11:49:29下载
    积分:1
  • elastic_lidar_sim
    Simulation of an Elastic lidar system.
    2014-02-07 21:41:46下载
    积分:1
  • fuzzypid
    这类控制器在大偏差范围内利用模糊推理的方法调整系统的控制量U,而在小偏差范围内转换成PID控制,两者根据事先给定的偏差范围自动实现。(This kind of controller in the big deviation range by using fuzzy reasoning method to adjust the system control quantity U, and in small deviation range NaZhuan with PID control, both, according to a given skew range prior to implementation.)
    2012-03-07 14:12:09下载
    积分:1
  • pid-a
    说明:  tuning of pid parameter with fuzzy-method 1
    2012-04-24 15:45:45下载
    积分:1
  • MMA_16
    MMA盲均衡算法,上传供交流,希望大家提供宝贵的意见(MMA blind equalization algorithm, uploads for the exchange, we hope to provide valuable advice)
    2021-04-20 21:08:50下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载