登录
首页 » matlab » date-calculate

date-calculate

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

  • 2011420
    这是一个简单的卡尔曼滤波的matlab仿真程序(This is a simple Kalman filter matlab simulation program)
    2011-04-20 15:27:05下载
    积分:1
  • c4
    CHAPTER 4 (C4 Folder) TRANSFORMERS Project 1: Short-circuit and RL Load Terminations SIMULINK file s1a.mdl (linear transformer) SIMULINK file s1b.mdl (piece-wise linear saturation) SIMULINK file s1c.mdl (lookup table saturation) MATLAB M-file m1.m MATLAB M-file fftplot.m (fftplot.m should be placed in a directory on MATLAB s search path) Project 2: Open-Circuit Termination, In-rush Current, and DC Bias Core Saturation SIMULINK file s1c.mdl (lookup table saturation) MATLAB M-file m1.m Use the given FFTPLOT.m to obtain the discrete Fourier transform
    2013-01-18 17:06:46下载
    积分:1
  • patch
    利用HFSS-MATLAB-API编写的程序,该程序可以生成一个同轴馈电的贴片天线的vbs脚本程序,并和hfss软件自动连接,算出该天线的S11参数。(HFSS-MATLAB-API programs written in the program can generate a coaxial fed patch antenna vbs script to automatically connect and hfss software, calculated S11 parameter of the antenna.)
    2013-03-02 11:45:24下载
    积分:1
  • daima
    很好的matlab代码,适合初学者,快来下
    2011-09-20 17:38:06下载
    积分:1
  • conv_soft_hard
    通过卷积码的学习,建立了卷积码的两种译码方式的simulink仿真模型!(in this part we can use the simulink to realize the convolutional decoding by harddecision and softdecision.)
    2011-01-01 23:05:25下载
    积分:1
  • shannocode
    用C语言或者Matlab编写香农编码的程序(Written with C language or Matlab coding procedures Shannon)
    2010-05-28 22:06:08下载
    积分:1
  • dynamicsvm
    动态SVM算法,可实现模型的在线实时更新,里面的数据需要根据自己的实际数据改变,为一多输入单输出的拟合预测模型。(Dynamic SVM algorithm can achieve real-time updates online model, the data inside the data according to their actual needs change, fitting prediction model is a multi-input single-output.)
    2014-06-02 17:21:54下载
    积分:1
  • josaafig8
    fdtd模拟二维表面等离子体波导结构的电磁场分布(FDTD simulation of two-dimensional surface plasmon waveguide structure of electromagnetic field distribution)
    2007-11-10 18:55:41下载
    积分:1
  • Information-Hiding-PNG
    用matlab编写的在png图像中隐藏并提取rgb图像和二值图像,注意隐藏的图像要小点,源图像png要大些(Png images using matlab hide and extract the rgb image and binary image, pay attention to the hidden image is smaller point source image png)
    2013-01-17 20:51:43下载
    积分:1
  • Detyrat_Matlab
    matlab code problem contemporary communication using matlab
    2014-11-28 00:04:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载