Method Reference: calendarDuration.horzcat

calendarDuration: C = horzcat (A, B, …)

Horizontal concatenation of calendarDuration arrays.

C = horzcat (A, B, … is the equivalent of the syntax B = [A, B, …] and horizontally concatenates the calendarDuration 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 calendarDuration array of compatible size.

Source Code: calendarDuration