I have measured a handful of variables in 30 minute intervals. Time stamps are available in datevec
or datenum
format. I want to calculate ...
a) ... daily averages and
b) ... average values at time x
, e.g. temperature at 11:30, temperature at 12:00, etc. averaged over my whole dataset.
While this is, more or less, easily done with loops, I wonder if there is an easier / more convenient way to work with time-series, since this is a quite basic task after all?
/edit 1: As per request: click me for sample data