-
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
-
sanxiangdianyuan
基于simulink的三相交流电压的整流电路,完全自己编写,非常经典。(Simulink three-phase AC voltage of the rectifier circuit, fully prepared, very classic.)
- 2012-09-28 15:02:45下载
- 积分:1
-
Decoupling-control-requirements-u
解耦控制要求下的极点配置Matlab算法(Decoupling control requirements under the pole placement Matlab algorithm)
- 2013-09-02 08:59:05下载
- 积分:1
-
seir
Vincent Jaquet & Marek Pechal基于社交网络的传染扩散模型,matlab程序(Vincent Jaquet & Marek Pechal infection based social network diffusion model, matlab program)
- 2014-12-09 21:18:54下载
- 积分:1
-
DML test
说明: 基于模型预测控制算法研究自动驾驶车辆轨迹跟踪(Trajectory tracking of autonomous vehicle based on model predictive control algorithm)
- 2020-05-16 19:28:47下载
- 积分:1
-
ChaoticSystemsToolbox
matlab ChaoticSystemsToolbox工具箱(ChaoticSystemsToolbox)
- 2010-08-30 10:17:35下载
- 积分:1
-
mexclp
CLP Interface to LP/QP solver MEXCLP
- 2009-04-24 23:25:11下载
- 积分:1
-
fuzzy-control
基于matlab的模糊控制程序的源代码,可以实现阶跃响应曲线、超调量、上升时间等控制指标。(Fuzzy control codes based on matlab)
- 2013-07-19 21:38:32下载
- 积分:1
-
KNN
自己编写的最近邻KNN算法,采用的距离是欧氏距离,附加了详细的中文注释,还有一个测试集和一个训练集(
I have written KNN nearest neighbor algorithm, the distance is the Euclidean distance, additional detailed notes in Chinese, as well as a test set and a training set)
- 2015-03-21 19:39:13下载
- 积分:1
-
ssft
分步傅里叶变换法求解非线性薛定谔方程,根据G.P.Agrawal的《非线性光纤光学原理》(Step Fourier transform method for solving nonlinear Schrodinger equation, according to GPAgrawal of " nonlinear fiber optics." )
- 2014-01-19 14:14:03下载
- 积分:1