<< eomday | Time functions | leapyear >> |
e = etime(t2, t1) |
Date vectors: 1-by-6 vector or m-by-6 matrix.
Date vectors: 1-by-6 vector or m-by-6 matrix.
a scalar or a vector: time elapsed (seconds).
e = etime(t2, t1) returns the number of seconds between two date vectors or matrices of date vectors, t1 and t2.
t1 = clock()
sleep(6)
t2 = clock()
etime(t2, t1)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET