containsrange
Determine if timetable row times contain a time range.
📝Syntax
[tf, tfRow] = containsrange(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

containsrange tests whether timetable row times cover the specified time range.

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