登录
首页 » matlab » date-calculate

date-calculate

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

  • lsblsblsb
    利用Matlab语言开发的一种LSB最低有效位数字水印算法(Matlab language development using a least significant bit LSB watermarking algorithm)
    2011-01-24 13:21:38下载
    积分:1
  • wannnpid532
    说明:  完善网络结构将RBF网络的径向基换成小波函数,调整权值以及公式的变更, 可望在仿真结构中添加非奇异项以验证小波网络的辨识精度和能力,输入层加权值进行调整~..~(to improve the network structure of the RBF network replaced wavelet Radial Basis Functions, value and the right to adjust the formula change, the simulation structure is expected to add non-singular wavelet network to verify the accuracy and the ability to identify, input layer weighted value adjustments )
    2006-04-25 11:28:55下载
    积分:1
  • MATLAB DCT水印源程序代码
    采用matlab程序 实现DCT水印源程序代码(DCT Watermark source code)
    2018-08-30 08:03:20下载
    积分:1
  • huise
    说明:  灰色理论的应用,是一种成语实现,用于预测数据。(Application of Grey theory is a kind of idiom to achieve, to predict the data.)
    2011-03-26 15:15:22下载
    积分:1
  • string-data-encryption
    Data Encryption by Matrix Multiplication We will only use numbers 0 to 26 for the encryptive mathematics operation. Numbers from 1 to 26 are for letters from A to Z and 0 is for all non-letter characters. To minimize usage of numbers, all letters are converted to upper case. The original message is converted to number array according to the ASCII table and minus 64. We partition whole array into blocks of 8 numbers. The last block may be added several zeros. Then multiply each block by the an 8x8 matrix A which is invertible in Z27 to get cipher data. The decryption is the same process except to use its inverse matrix B. For good visual reading, we convert all non-letter characters to under score for the decryption.
    2012-06-24 02:58:53下载
    积分:1
  • xiaofang
    城市消防站点选址问题的代码 用于求出两点间最短距离以及选址最佳坐标(City Fire Station Location code is used to calculate the shortest distance between two points and the location of the best coordinate)
    2012-08-14 09:05:29下载
    积分:1
  • program
    OFDM的一些基础步骤,希望对大家的学习有所帮助。(OFDM some basic steps, we want to help learning.)
    2010-08-17 19:44:20下载
    积分:1
  • wavelet_edge2
    利用wavelet transform及wavelet modulus maximum來求出改良过的邊緣檢測,得到最佳的輪廓(The use of wavelet transform and the wavelet modulus maximum to derive a modified edge detection, the best contour)
    2009-11-09 15:26:48下载
    积分:1
  • 69107
    通信原理课程设计利用matlab中的simlingk做的伪随机码的设计(Communication Theory course design using matlab in simlingk do pseudo-random code design)
    2011-06-19 17:48:00下载
    积分:1
  • 作品 MATLAB语言常用算法程序集
    关于matlab的语言常用算集比较详细的完整版学习资料(The language of MATLAB is often used in a more detailed and complete set of learning materials)
    2018-03-03 16:53:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载