-
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
-
image-source-method-new
image source method new
- 2011-09-20 05:37:02下载
- 积分:1
-
A1_4
mathews数值分析书的源代码,用matlab编写,此是第一章中的程序。(mathews numerical analysis of the book s source code, using matlab, you can control book-learning.)
- 2011-10-20 10:17:58下载
- 积分:1
-
exp
关于蒙特卡洛在工程上的应用,仅供参考和互相学习,共同进步。(About Monte Carlo in engineering applications, for reference and mutual learning and common progress.)
- 2013-11-05 11:36:20下载
- 积分:1
-
BILALQAM
To calculate the BER of QAM for different values of SNR
- 2010-06-07 07:27:12下载
- 积分:1
-
singlependulum
说明: 这是一篇硕士论文,研究了倒立摆建模,稳定控制,和起摆控制,采用Bang-bang控制起摆,并给出了明确的仿真结果。(This is a master' s thesis studied the inverted pendulum modeling, stability control and swing control, the use of Bang-bang control of swing, and gives a clear simulation results.)
- 2011-03-08 15:32:50下载
- 积分:1
-
erfenfa
波尔查诺二分法,区间半分法,matlab调用函数(The dichotomy of Bolzano, the range of half of France, the Matlab function is called)
- 2012-08-12 16:41:49下载
- 积分:1
-
Radar-detection
radar detector to calculate the probability of detection
- 2016-02-25 06:58:20下载
- 积分:1
-
hamming
hamming code simulation using matlab
- 2011-07-24 03:03:10下载
- 积分:1
-
fitness
优化算法的20个基准函数benchmark,仅供参考,内含说明(20 benchmark functions benchmark optimization algorithm, for reference, containing instructions)
- 2021-04-12 21:58:56下载
- 积分:1