MATLAB: Change a half hourly table to hourly time table

tabletimetable

I have a table which consists of 220 columns of half-hourly values over the course of a year. Is there a way to change the table to hourly values which are the average across two of the half hourly values.

Best Answer

The easiest way is to use a timetable object and the retime() function.