duration

Methods

Method Reference: duration.repmat

duration: B = repmat (A, n)
duration: B = repmat (A, d1, …, dN)
duration: B = repmat (A, dimvec)

Repeat copies of a duration array.

B = repmat (A, n) returns a duration array B containing n copies of the input duration array A along every dimension of A.

B = repmat (A, d1, …, dN) returns an array B containing copies of A along the dimensions specified by the list of scalar integer values d1, …, dN, which specify how many copies of A are made in each dimension.

B = repmat (A, dimvec) is equivalent to the previous syntax with dimvec = [d1, …, dN].

Source Code: duration