EDIT — (21 Aug 2023 at 15:57)
To illustrate —
Time = [4.2981; 4.3030; 4.3081; 4.3131; 4.3181];
ID1S01_PWM_timerticks_ph1 = [0; 65534; 0; 0; 0];
T1 = timetable(seconds(Time),ID1S01_PWM_timerticks_ph1)
ssiSelSicMsg2 = 9*ones(5,1);
T2 = timetable(seconds(Time), ssiSelSicMsg2)
Tsync = synchronize(T1,T2)
EDIT — (21 Aug 2023 at 20:23)
Changed to use original variable names. Code otherwise unchanged.
.