Hi, I need to filter som data I have so that I get the rows from only the time between 08:00 and 16:00 or the "occupied time" where I am assuming there will be people present in my measurements. The data I have is a date in column 1 and in 2,3,4 I have temperature, relative humidity and CO2. But the data I have now is for all 24 hours of everday in about a month of data.
How can I filter this data and put it in its own timetable since I want to plot both the whole measuring period and also the isolated range.
I can use the rangetime function like this:
S = timerange(' 21-Oct-2019 08:00:00',' 21-Oct-2019 17:00:00'); %Creating a variable S with the values within the timerange.
TT2 = IC11avHour(S,:); %Creating the new timetable with the rows of information.
And then TT2 is my new timetable and this works but this is only for 1 day but I want it for all days within the timerange.
Can anyone help me?