登录
首页 » matlab » date-calculate

date-calculate

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

  • ACATSP
    蚁群算法,MATLAB求最短路径,解放军信息工程大学一个老师编的matlab程序(Ant Colony Algorithm for Traveling Salesman Problem)
    2009-09-05 20:51:13下载
    积分:1
  • zhengliulvbo
    基于Simulink的整流滤波电路仿真,通过选择不同的电抗元件,得到最为理想的滤波效果。(Simulink-based simulation of the rectifier filter circuit)
    2009-03-11 10:03:23下载
    积分:1
  • Matlabsimulink_FPGA
    Matlabsimulink 在FPGA 设计中的应用(Matlabsimulink in the FPGA Design)
    2009-03-18 17:12:40下载
    积分:1
  • matlab
    OMP算法的一维信号实现matlab 源码 基于压缩感知的(OMP algorithmn )
    2011-11-17 15:11:16下载
    积分:1
  • PID-optimization
    基于Matlab的PID参数最优化设计(fminsearch单纯形法)(Matlab-based design of PID parameter optimization (fminsearch simplex method))
    2011-10-20 16:11:29下载
    积分:1
  • cfar
    matlab实现cfar处理,为子函数,可供其他程序调用,采用GO-cfar算法(matlab to achieve cfar processing for other programs call subfunctions, using the GO-cfar algorithm)
    2013-03-21 14:13:58下载
    积分:1
  • bayesgauss
    图像处理MATLAB源代码,这个是贝叶斯估计-bayes guess(Image Processing MATLAB source code, this is the Bayesian estimation-bayes guess)
    2013-11-13 14:47:46下载
    积分:1
  • LFDA
    说明:  LLDA,局部线性判别分析,可以降到任意的维度,相比LDA更加优秀(LLDA, Local Linear Discriminant Analysis, can be reduced to any dimension, which is better than LDA.)
    2020-11-17 13:59:40下载
    积分:1
  • Matlabsimulatedannealingalgorithmtoolbox
    matlab模拟退火算法工具箱,最新版本的matlab工具箱(simulated annealing algorithm matlab toolbox, the latest version of matlab toolbox)
    2007-08-22 21:17:04下载
    积分:1
  • svmTrain
    说明:  一个matlab平台应用的svm工具箱,该工具箱包括了二种分类,二种回归,以及一种一类支持向量机算法(A matlab platform applications svm toolbox, the kit includes two kinds of classification, two kinds of return, and a one-class support vector machine algorithm)
    2010-03-26 09:04:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载