Try this —
T1 = readtable('Chris Martin_2022_02_09.txt')
T1 = 25×4 table
Var1 Var2 Var3 Var4
________________________ _______ ______ _________
{'2010-01-01T00:00:00Z'} -12.188 96.834 0.0013305
{'2010-01-01T03:00:00Z'} -12.188 96.834 0.0014032
{'2010-01-01T06:00:00Z'} -12.188 96.834 0.001377
{'2010-01-01T09:00:00Z'} -12.188 96.834 0.0014428
{'2010-01-01T12:00:00Z'} -12.188 96.834 0.001446
{'2010-01-01T15:00:00Z'} -12.188 96.834 0.0014898
{'2010-01-01T18:00:00Z'} -12.188 96.834 0.0015141
{'2010-01-01T21:00:00Z'} -12.188 96.834 0.0015868
{'2010-01-02T00:00:00Z'} -12.188 96.834 0.0015117
{'2010-01-02T03:00:00Z'} -12.188 96.834 0.0014613
{'2010-01-02T06:00:00Z'} -12.188 96.834 0.0014363
{'2010-01-02T09:00:00Z'} -12.188 96.834 0.0014764
{'2010-01-02T12:00:00Z'} -12.188 96.834 0.0014274
{'2010-01-02T15:00:00Z'} -12.188 96.834 0.00149
{'2010-01-02T18:00:00Z'} -12.188 96.834 0.0015755
{'2010-01-02T21:00:00Z'} -12.188 96.834 0.0016423
T1.Var1 = datetime(T1.Var1, 'InputFormat','yyyy-MM-dd''T''HH:mm:ss''Z''', 'TimeZone','UCT')
Warning: 'UCT' specifies a time zone with a fixed offset from UTC, +00:00. This zone does not follow daylight saving time, and so may give unexpected results. See the datetime.TimeZone property for details about specifying time zones.
T1 = 25×4 table
Var1 Var2 Var3 Var4
____________________ _______ ______ _________
01-Jan-2010 00:00:00 -12.188 96.834 0.0013305
01-Jan-2010 03:00:00 -12.188 96.834 0.0014032
01-Jan-2010 06:00:00 -12.188 96.834 0.001377
01-Jan-2010 09:00:00 -12.188 96.834 0.0014428
01-Jan-2010 12:00:00 -12.188 96.834 0.001446
01-Jan-2010 15:00:00 -12.188 96.834 0.0014898
01-Jan-2010 18:00:00 -12.188 96.834 0.0015141
01-Jan-2010 21:00:00 -12.188 96.834 0.0015868
02-Jan-2010 00:00:00 -12.188 96.834 0.0015117
02-Jan-2010 03:00:00 -12.188 96.834 0.0014613
02-Jan-2010 06:00:00 -12.188 96.834 0.0014363
02-Jan-2010 09:00:00 -12.188 96.834 0.0014764
02-Jan-2010 12:00:00 -12.188 96.834 0.0014274
02-Jan-2010 15:00:00 -12.188 96.834 0.00149
02-Jan-2010 18:00:00 -12.188 96.834 0.0015755
02-Jan-2010 21:00:00 -12.188 96.834 0.0016423
TT1 = table2timetable(T1)
TT1 = 25×3 timetable
Var1 Var2 Var3 Var4
____________________ _______ ______ _________
01-Jan-2010 00:00:00 -12.188 96.834 0.0013305
01-Jan-2010 03:00:00 -12.188 96.834 0.0014032
01-Jan-2010 06:00:00 -12.188 96.834 0.001377
01-Jan-2010 09:00:00 -12.188 96.834 0.0014428
01-Jan-2010 12:00:00 -12.188 96.834 0.001446
01-Jan-2010 15:00:00 -12.188 96.834 0.0014898
01-Jan-2010 18:00:00 -12.188 96.834 0.0015141
01-Jan-2010 21:00:00 -12.188 96.834 0.0015868
02-Jan-2010 00:00:00 -12.188 96.834 0.0015117
02-Jan-2010 03:00:00 -12.188 96.834 0.0014613
02-Jan-2010 06:00:00 -12.188 96.834 0.0014363
02-Jan-2010 09:00:00 -12.188 96.834 0.0014764
02-Jan-2010 12:00:00 -12.188 96.834 0.0014274
02-Jan-2010 15:00:00 -12.188 96.834 0.00149
02-Jan-2010 18:00:00 -12.188 96.834 0.0015755
02-Jan-2010 21:00:00 -12.188 96.834 0.0016423
TT2 = retime(TT1,'daily','linear')
TT2 = 4×3 timetable
Var1 Var2 Var3 Var4
___________ _______ ______ _________
01-Jan-2010 -12.188 96.834 0.0013305
02-Jan-2010 -12.188 96.834 0.0015117
03-Jan-2010 -12.188 96.834 0.0017101
04-Jan-2010 -12.188 96.834 0.0024783
I created a text file with the posted data and attached it here. This code should work with your file.
.