MATLAB: How to select time which comes in a range from cell array

time

if i have a time as
cellArr = {'6:25:48'
'7:28:18'
'8:30:20'
'9:32:37'
'10:35:40'};
how to select time which comes in a range? eg: time between 7:00:00 and 9:00:00
7:28:18
8:30:20

Best Answer

Convert to datetime objects and then use