Determine elements within date and time interval
tf = isbetween(
returns an array the same size as t
,tlower
,tupper
)t
containing logical
1
(true) where the corresponding element of
t
is a datetime or duration that lies within the closed
interval specified by the corresponding elements of tlower
and
tupper
. The output tf
indicates which
elements of t
satisfy:
tlower <= t <= tupper