-
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
-
zhuangzaixitong
一个装载系统的最优问题遗传算法matlab优化(A loading system optimization problem matlab optimization)
- 2011-07-07 10:34:30下载
- 积分:1
-
SampleMatlabCode
text localization,recognization and segemntation
- 2015-01-28 15:08:01下载
- 积分:1
-
Convolution_Linux-a-Unix
The program simulates convolutional code using soft-decoding viterbi algorithm. The choice of generator matrix (G) determines the code rate (1/R) and constraint length of the code (K).
- 2011-02-14 12:48:44下载
- 积分:1
-
lms-stepsize
说明: 介绍如何计算lms算法的步长问题,非常有用(How to calculate the step of the lms algorithm is very useful)
- 2011-03-14 09:23:00下载
- 积分:1
-
N_floyd
这是一个使用matlab编写的源文件,实现了在网络中使用Floyd算法寻找最短的N条路径。(This is a source file, the use of matlab prepared N Floyd algorithm used in the network to find the shortest path.)
- 2013-04-26 14:06:35下载
- 积分:1
-
lab1
lear
N = 10^5
EB_NO = [-1:30]
liu1 = zeros(1,N)
liu2 = zeros(1,N)
for ii = 1:length(EB_NO)
m= (2*(rand(1,N)>0.5)-1) + j*(2*(rand(1,N)>0.5)-1)
s = (1/sqrt(2))*m normalization of energy to 1
n = 1/sqrt(2)*[randn(1,N) + j*randn(1,N)]
- 2012-05-17 19:56:01下载
- 积分:1
-
punture
1/2删除卷积码(3/4速率)的编码和译码,亲测可用(1/2 convolutional code to delete (3/4 rate) encoding and decoding, the pro-test available)
- 2021-04-06 22:29:02下载
- 积分:1
-
CompareTo
Compare To Source Code for Andriod.
- 2014-01-01 11:14:59下载
- 积分:1
-
Untitled4
这是用实施镶边效果这是一个分数延迟线,作为构建块。基本上镶边效果延迟实现不同时间acording一个低频控制信号。(This is the implementation of the flanger effect is a fraction of the delay line, as building blocks. Basically, the flanger effect delay to different time acording to a low-frequency control signal.)
- 2012-05-22 14:54:49下载
- 积分:1