duration

Methods

Method Reference: duration.permute

duration: B = permute (A, dims)

Generalized transpose for a duration N-D array.

B = permute (A, dims) returns the generalized transpose of the duration array A by rearranging its dimensions according to the permutation vector specified in dims.

dims must index all the dimensions 1:ndims (A) of the input array A, in any order, but only once. The Nth dimension of A gets remapped to the dimension in B specified by dims(N).

Source Code: duration