Synchronize Timetables
Description
The Synchronize Timetables task lets you interactively collect variables from all input timetables, synchronize them to a common time vector, and return the result as a single timetable. The effect is similar to a horizontal concatenation, though the input timetables can have different row times. The task also automatically generates MATLAB® code for your live script.
Using this task, you can:
Interpolate data values at new row times.
Aggregate data into time bins (for example, to create a timetable containing quarterly means from timetables containing monthly data).
Remove rows that have duplicate row times.
Make the output a regular one by specifying a uniform time step or sample rate.
Open the Task
To add the Synchronize Timetables task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Synchronize Timetables.
In a code block in the script, type a relevant keyword, such as
synchronize
ortimetable
. Select Synchronize Timetables from the suggested command completions.