MATLAB: Is there a way to calculate the mean of multiple data points at one time stamp of a time series

time series time stamps mean

I have a data set where for a number of time stamps, multiple data points are measured. Is there a way to calculate the mean of a time series at every timestamp? In the series, the first column are the timestamps and the second column are the measurements.

Best Answer

Depending on what you have, it can be as easy as
retime(tt,tt.Time,'mean');
where tt is a timetable.
Related Question