overlapsrange
Determine if timetable row times overlap a time range.
📝Syntax
[tf, tfRow] = overlapsrange(TT, timeSpec)
📥Input Arguments
Parameter Description
TT Input timetable.
timeSpec Time range specification.
📤Output Arguments
Parameter Description
tf Logical scalar.
tfRow Logical row selector.
📄Description

overlapsrange tests whether timetable row times overlap the specified time range.

💡Examples
TT = timetable(seconds([1; 2; 3]), [10; 20; 30], 'VariableNames', {'A'});
overlapsrange(TT, seconds([2; 4]))
🔗See Also
withinrangecontainsrange
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub