Is there an Alternative to timetable

I am using Matlab 2016a and wanted to use timetable and "synchronize" two tables. the academic license that I have doesnt have timetable tool. Is there an alternative?

Answers (1)

Karoline, you could create a table that contains a variable that's either a datetime or a duration, and apply interp1 to the variables in that table as needed, with your old time vector as the grid points and your new time vector as the query points (interp1 supports datetime and duration). As you probably noticed, synchronize (introduced in R2016b with timetables) makes that easier, but for simple cases, you should be able to roll your own.
Hope this helps.

Categories

Asked:

on 23 Nov 2016

Answered:

on 28 Nov 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!