Timetables
timetable
is a type of table that associates a time
with each row. Like table
, the
timetable
data type can store column-oriented data
variables that have the same number of rows. All table functions work with
timetables. In addition, timetables provide time-specific functions to
align, combine, and perform calculations with one or more timetables. For
more information, see Create Timetables or watch
Managing Time-Stamped Tabular Data with Timetables.
To find and label events in a timetable, attach an event table to it. For
more information, see eventtable
.
Functions
Apps
Data Cleaner | Preprocess and organize column-oriented data (Since R2022a) |
Live Editor Tasks
Retime Timetable | Resample or aggregate timetable data in the Live Editor (Since R2020a) |
Synchronize Timetables | Retime and combine timetables to new time vector in the Live Editor (Since R2020a) |
Compute by Group | Summarize, transform, or filter by group in the Live Editor (Since R2021b) |
Pivot Table | Summarize tabular data in pivoted table in the Live Editor (Since R2023b) |
Topics
- Create Timetables
Create timetables from input row times and data arrays, by converting arrays, tables, or
timeseries
arrays, or by importing files with tabular data. - Clean Timetable with Missing, Duplicate, or Nonuniform Times
Clean timetables that have missing, duplicate, or irregular times, and produce regular timetables.
- Direct Calculations on Tables and Timetables
You can perform calculations directly on tables and timetables without indexing to extract their data. All the variables in your tables and timetables must have data types that support calculations.
- Resample and Aggregate Data in Timetable
Resample or aggregate data in a timetable to a new vector of row times.
- Access Data in Tables
Indexing into tables with parentheses, dot notation, and curly braces accesses table data in different ways. You can use indexing to create a table that is a subset of a larger table or to create an array from data in a table.