登录
首页 » matlab » date-calculate

date-calculate

于 2011-12-13 发布 文件大小:13KB
0 316
下载积分: 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
    matlab code of wireless comunication
    2010-08-23 11:01:17下载
    积分:1
  • Algorithm-Collections-for-Digital-Signal-Processin
    此书是关于数字信号处理的一些算法收集,很详细,全面。(This book is about the digital signal processing algorithms to collect some very detailed and comprehensive.)
    2010-12-03 22:05:11下载
    积分:1
  • CP
    说明:  粒子群加连续潮流法,能优化变压器分接头,进行多变量优化,使系统非常稳定(PSO plus continuous power flow, transformer taps can be optimized, multi-variable optimization, making the system very stable)
    2010-05-13 21:56:16下载
    积分:1
  • guzhangjisuan
    电力系统故障计算,能进行横向故障,纵向故障,同时能计算出各支路的短路电流。(Power system fault calculations, can be transverse faults, vertical fault, and can calculate the short-circuit current of each branch)
    2014-09-18 15:12:02下载
    积分:1
  • psk
    matlab code for psk mulation very usefull
    2011-11-13 03:03:25下载
    积分:1
  • water
    watershed transform coding
    2011-11-15 14:16:11下载
    积分:1
  • Superresolution00overview
    2003年Park关于超分辨图像重建的综述性文献,文中回顾了时域与频域的各种重建方法,并进行了比较。比较全面(2003 Park on the super-resolution image reconstruction is summarized in literature, the paper recalled the time domain and frequency domain of various reconstruction methods and compared. More comprehensive)
    2010-07-05 11:12:50下载
    积分:1
  • MP3-watermarking
    说明:  :针对MP3 编码方式和帧结构进行分析,利用帧中的比例因子提出了一种压缩域水印算法。算法通过引入帧变化分析步 骤,很好地实现了水印的自适应嵌入。对于不同的系统要求,还可以通过修改门限信噪比的值SNRlim按需进行水印嵌入,使算法 具有更大灵活性。同时在牺牲一定的嵌入空间前提下,实现了水印信息的自同步。实验表明,对于不同风格的音乐,该水印算法 具有很好的不可听性。(In this paper,the encoding method and the frame structure of MP3 are expounded in detail,a watermark algorithm is proposed based on the scale factor in MP3 frame.By introducing the step of frame altering analysis,the algorithm can realize that watermarks is embedded adaptively.By modifying threshold SNRlim(the ratio of signal to noise),the algorithm can meet different requirements of some system,that is what enable the algorithm to have a bigger flexibility.Based on expense of some embedding positions,the watermark can be embedded with self-synchronization.The experiment results show this algorithm can get a good audio effect with various types of audio.)
    2011-02-24 11:50:25下载
    积分:1
  • MUSIC
    说明:  用MUSIC方法实现谱估计的程序,可以用于频谱分析,(Spectrum estimation using MUSIC method implementation procedures can be used for spectrum analysis,)
    2011-02-28 19:16:00下载
    积分:1
  • PCA
    PCA:Principal Component Analysis Usage: [eigvector, eigvalue] = PCA(data, options) [eigvector, eigvalue] = PCA(data)(PCA Principal Component Analysis Usage: [eigvector, eigvalue] = PCA(data, options) [eigvector, eigvalue] = PCA(data))
    2012-06-21 20:29:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载