timetable

Methods

Method Reference: timetable.empty

timetable: tt = timetable.empty ()
timetable: tt = timetable.empty (n)
timetable: tt = timetable.empty (r, v)
timetable: tt = timetable.empty (sz)

Create an empty timetable.

tt = timetable.empty () returns a 0-by-0 timetable.

tt = timetable.empty (r, v) returns a timetable with r rows and v variables, at least one of which must be zero. The row times are NaT, one per row, since a row of a timetable is labelled whether or not it holds anything. A timetable with variables but no rows names them Var1 to VarN and gives each of them a double value.

tt = timetable.empty (sz) takes the two dimensions from the two-element vector sz, and timetable.empty (n) is the same as timetable.empty (n, n).

See also: timetable, table, isempty, height, width

Source Code: timetable