withinrange
Find timetable rows within a time range.
📝Syntax
[tf, tfRow] = withinrange(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

withinrange tests whether timetable row times are within a specified time range.

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