FUNCTION REFERENCE
synchronize
Combine two timetables on a common time vector.
Combine two timetables on a common time vector.
Syntax
TT = synchronize(TT1,TT2)Syntax
TT = synchronize(TT1,TT2,basis,method)Syntax
TT = synchronize(TT1,TT2,'regular',method,'TimeStep',dt)The default basis is union and the default method is fillwithmissing. Other bases are intersection, first, commonrange, and 'regular' with 'TimeStep' or 'SampleRate'. commonrange uses the union within the overlapping interval. Resampling methods are those of retime. Duplicate variable names receive _TT1 and _TT2 suffixes.
Example
A = timetable(seconds([0;2]),[1;3],'VariableNames',{'a'}); B = timetable(seconds([1;2]),[8;9],'VariableNames',{'b'}); C = synchronize(A,B)Differences from MATLAB: Exactly two timetables and text time bases are supported. Explicit time vectors and other name-value options are not supported. Collisions remaining after suffixing produce a clear duplicate-name error.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.