>> baz.FreqErr = sum([baz.FreqErr_t1 baz.FreqErr_t2],2,"omitnan");
>> baz = removevars(baz,["FreqErr_t1","FreqErr_t2"])
baz =
9×7 timetable
UTC Freq_t1 Vpk_t1 dBV_Vpk__t1 Freq_t2 Vpk_t2 dBV_Vpk__t2 FreqErr
____________________ _______ ______ ___________ _______ ______ ___________ _______
01-Jan-2020 00:00:00 9 8 4 4 3 2 10
01-Jan-2020 06:00:00 NaN 10 7 8 8 3 9
01-Jan-2020 12:00:00 2 7 2 8 3 NaN 7
01-Jan-2020 18:00:00 10 1 8 2 6 3 10
02-Jan-2020 00:00:00 7 9 1 5 NaN 9 7
02-Jan-2020 06:00:00 1 10 3 5 9 3 14
02-Jan-2020 12:00:00 3 7 1 7 10 10 10
02-Jan-2020 18:00:00 6 NaN NaN 8 6 4 9
03-Jan-2020 00:00:00 10 8 9 8 2 2 10
Best Answer