登录
首页 » matlab » date-calculate

date-calculate

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

  • Radar_Systems_Analysis_and_Design
    使用matlab进行雷达系统性能的分析与设计,里边有详细的理论分析以及matlab代码,非常有助于做雷达仿真(Radar system analysis and design using matlab,much detail about the theoretical derivation and matlab source code)
    2013-10-15 23:34:09下载
    积分:1
  • ECEF2ECI
    ECEF2ECI and ECI2ECEF坐标转换
    2015-04-11 19:50:05下载
    积分:1
  • DWT
    通过它把信号从时间域变换到频率域,进而研究信号的频谱结构和变化规律(discrete Fourier transform)
    2017-08-02 10:43:34下载
    积分:1
  • DSP_MATLAB
    dsp实时处理,matlab仿真程序,应用于语音信号处理(dsp real-time processing, matlab simulation program, used in speech signal processing)
    2007-11-22 19:38:44下载
    积分:1
  • gaot
    A Genetic Algorithm for Function Optimization A Matlab Implementation
    2012-06-03 21:36:27下载
    积分:1
  • cross-array
    十字阵的波束形成图,包括相关的三维图,极坐标图等(Cross array beam forming diagram, including a three-dimensional view of the polar diagram)
    2012-10-22 21:16:14下载
    积分:1
  • eemd
    这是我自己编写的一个改进的经验模态分解EEMD的源码,希望大家能用上(This is what I have written an improved empirical mode decomposition EEMD source code, I hope everyone can be on)
    2013-12-13 12:50:14下载
    积分:1
  • Hilbert-LPF
    说明:  本案例给出了振动信号的时域信号分析,fft分析,低通滤波分析和Hilbert包络分析代码,并将分析结果展现在一个图中进行对比。(This case gives the time domain signal analysis, FFT analysis, low-pass filter analysis and Hilbert envelope analysis code of vibration signal, and shows the analysis results in a figure for comparison.)
    2019-12-20 10:16:19下载
    积分:1
  • matlab仿真PID参数整定 源代码+仿真图
    说明:  用MATLAB仿真PID控制,其中用simulink建仿真模型,用matlab语言编写PSO算法用于优化PID参数整定。(Matlab is used to simulate PID control, in which Simulink is used to build simulation model, and PSO algorithm is written in MATLAB language to optimize PID parameter setting.)
    2020-02-26 12:48:17下载
    积分:1
  • rov_design_analysis
    example of matlab,optimization method which is used with different model.it will be useful for whom they want to learn Matlab by themselves8
    2020-08-30 12:48:12下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载