datetime.repelems
datetime: B = repelems (A, R)
Construct a vector of repeated elements from a datetime array.
B = repelems (A, R) returns a datetime vector
B containing repeated elements of the input A, which must be
a datetime vector. R must be a matrix of integers.
Entries in the first row of R correspond to the linear indexing of
the elements in A to be repeated. The corresponding entries in the
second row of R specify the repeat count of each element.
Source Code: datetime