We have table,Why we use timetable?
24 views (last 30 days)
Show older comments
What is the difficience between the table and timetable?
“timetable is a type of table that associates a time with each row. Like tables, timetables store column-oriented data variables that can have different data types and sizes as long as they have the same number of rows. In addition, timetables provide time-specific functions to align, combine, and perform calculations with timestamped data in one or more timetables.”-----------------I have a table that associates a time with each row. temp is table,The 4th column is the datetime Var(varname is ‘time’),so,I can run this code to find row that date is 2008-01-03
temp((temp{:,4}==datetime('2008-01-03')),:)
I can sort by time
sortrows(temp,'Time')
Is there anything that a timetalb can do, but table cannot? What job must be done using a timetabl instead of a table?
Almost all the functions that tables can use ,timetable can use too. Like:removevars vartype addprop………………
0 Comments
Accepted Answer
Paul
on 23 Jul 2023
It looks like timetables offer additional functionality helpful for dealing with time histories of data: Timetables
4 Comments
More Answers (0)
See Also
Categories
Find more on Timetables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!