duration.horzcat
duration: C = horzcat (A, B, …)
Horizontal concatenation of duration arrays.
C = horzcat (A, B, … is the equivalent of
the syntax B = [A, B, …] and horizontally
concatenates the duration arrays A, B, …. All input
arrays must have the same size except along the second dimension. Any of
the input arrays may also be string arrays or cell arrays of character
vectors of compatible size. Additionally, an input can be a numeric
matrix, which when parsed to the constructor will return a duration array
of compatible size.
Source Code: duration