Determine elements within date and time interval
tf = isbetween(t,tlower,tupper)
tf = isbetween(
returns an array the same size ast
,tlower
,tupper
)t
containing logical1
(true) where the corresponding element oft
is a datetime that lies within the closed interval specified by the corresponding elements oftlower
andtupper
. The outputtf
indicates which elements oft
satisfy:
tlower <= t <= tupper