登录
首页 » matlab » date-calculate

date-calculate

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

  • Matlabcode
    对二维图像进行消噪、融合、分割,对对比度,亮度等进行变换的编码源码(Two-dimensional image denoising, integration, segmentation, on the contrast, brightness, etc. Transform source code)
    2010-05-29 10:49:47下载
    积分:1
  • LMS_with_delay_simi
    LMS algorithm similation.
    2011-01-07 15:28:35下载
    积分:1
  • combine---two-binary-trees-
    This is a small program to create indexs for two binary trees and combine them to a new 003 * index tree and output the new tree,the second tree only has the left child tree then 004 * if the first tree has no left child tree,insert the second tree into the first tree as 005 * its left child and if the first tree has the left child tree,then insert the first tree 006 * into the second tree as its left child. (This is a small program to create indexs for two binary trees and combine them to a new 003* index tree and output the new tree, the second tree only has the left child tree then 004* if the first tree has no left child tree, insert the second tree into the first tree as 005* its left child and if the first tree has the left child tree, then insert the first tree 006* into the second tree as its left child.)
    2012-06-11 16:16:55下载
    积分:1
  • envirment
    统计模拟(蒙特卡洛法),消防车或救护车的布局和调派.(Statistical simulation (Monte Carlo method), fire engine or ambulance layout and deployed.)
    2012-08-30 16:19:25下载
    积分:1
  • KalmanAll
    this program describes the kalman filter used to reduce the error to get better accuracy of the position.
    2012-02-14 11:16:01下载
    积分:1
  • 高阶累积量
    高阶累积量,用于信号的调制识别,性能较好(high order cumulant,used to AMC.)
    2017-12-28 11:28:16下载
    积分:1
  • ColorWebinar2
    说明:  挺好用的一个程序,解决了彩色图像的问题,基于matlab基础上的图像处理。(Very good use of a program to solve the problem of color image based on image processing based on matlab.)
    2010-05-02 10:59:59下载
    积分:1
  • Numerical-Techniques-in-EM
    电磁场中的数值方法,本书包含所有的电磁场方面使用的数值方法,且有丰富的代码(FORTAN 和 C++),本书是英文版的(Electromagnetic field numerical methods, the book contains all of the numerical methods used in electric fields, and there is a wealth of code (FORTAN and C++), the book is in English)
    2014-02-06 03:18:48下载
    积分:1
  • part3
    书籍中包含的第三部分实例的matlab代码,供初学者参考学习(the above is the third part of matlab code in that book, for beginners to learn.)
    2009-05-13 16:51:23下载
    积分:1
  • gls-master
    it is a simple project which uses html as a bases
    2015-03-02 14:32:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载