duration

Methods

Method Reference: duration.ldivide

duration: C = ldivide (A, B)

Element-wise left division for duration arrays.

C = ldivide (A, B) is the equivalent of the syntax C = A .\ B and returns the element-wise division of the duration array B by the corresponding elements of input array A, which can either be a duration or a numeric array. If A is a duration array, then C is a double numeric array. If A is a numeric array, then C is a duration array.

A and B must be size compatible, which translates to they can be the same size, one can be scalar, or for every dimension, their dimension sizes must be equal or one of them must be 1. The size of C is determined by the size compatibility of A and B.

Source Code: duration