-
Calculate-Time-Interval
main executing reference usage: usage_timeDifference.m
Sample output:
The time interval between earierTime [09-Sep-1900 09:09:18] and laterTime [31-Oct-2010 23:33:08] is
110 years, 79 days, 14 hours, 23 mins, 50.17 secs.
The objective is to compute the time interval taking into account the leap days that are subsumed within the time interval.
Note:
The logic subsumes the time interval by
yearEnd, monthEnd, dayEnd - timeEarlier (within that year)
+ time interval (excluding that 2 years)
+ timeLater - yearEnd, monthEnd, dayEnd (within that year)
It differentiates the earlier time and later time, ie. timeDifference (earlierTime, laterTime) gives the same result as timeDifference (laterTime, earlierTime).
leapDayHasPassed.m illustrates a possible approach to determine if a certain day of concern is already over at a given time.
Caveat: does not include leap secs
- 2011-01-20 07:05:01下载
- 积分:1
-
f_path
图论及复杂网络中,Warshall-Floyd算法求解两点间最短路径。(Figure dealt with complex networks, Warshall-Floyd algorithm to solve the shortest path between two points.)
- 2011-10-10 16:11:53下载
- 积分:1
-
psorfid
可以实现粒子群算法与盲源分离算法的结合,比较方便。源信号可以随便替换(PSO algorithm can be achieved with the combination of blind source separation algorithms, more convenient. Source signal can be easily replaced)
- 2013-11-25 17:39:40下载
- 积分:1
-
qpsk2
QPSKtiaozhi的一种方式,采用包给了白噪声,加入了两路分别处理条制服的方式(QPSKtiaozhi a way, using the packet to the white noise, to join the two handle pieces uniform)
- 2013-04-24 20:49:11下载
- 积分:1
-
-TMF5
REMOVAL OF IMPULSE NOISE USING TRIMMED MEDIAN FILTER
- 2014-01-23 15:48:13下载
- 积分:1
-
ambguity
单脉冲信号、调频信号模糊函数源代码,很实用!(Single-pulse signal, FM signal ambiguity function source code, it works!)
- 2010-07-21 11:15:22下载
- 积分:1
-
optimum.rar
基于遗传算法整定的PID控制算法的Matlab仿真源程序(Based on genetic algorithm-tuning PID control algorithm of the Matlab simulation source)
- 2008-07-06 21:17:34下载
- 积分:1
-
book2_codes76543
matlab code for satelite simullation
- 2011-05-22 18:30:35下载
- 积分:1
-
Matlab-EMD
matlab 中EMD 经验模式分解工具箱 附带安装说明(the empirical mode decomposition EMD matlab toolbox comes with installation instructions)
- 2015-03-24 10:45:19下载
- 积分:1
-
qujiankongzhi1
MPC 区间控制 DMC区间控制 MATLAB源码 已验证非常好无任何错误 参考价值高
这里的控制目标是把状态量控制在一个区间内,也就是区间控制,把区间约束改为一个固定值就是一般的DMC了,程序内容相应也会简单一些。(Here the control goal is to control the state of the range, that is, the interval control, the interval constraint to a fixed value is the general DMC, the program will be a simple corresponding content.)
- 2016-04-10 22:40:15下载
- 积分:1