duration

Methods

Method Reference: duration.mrdivide

duration: C = mrdivide (A, B)

Right division of duration arrays, A / B.

C = mrdivide (A, B) divides A by B and is the mirror of mldivide: A / B is B \ A. The denominator B decides what the result means and must be a scalar. Dividing a duration by a number scales it, giving a duration; dividing one duration by another gives how many times one goes into the other, a plain number carrying no unit.

Dividing a number by a duration is not defined, and neither is a non-scalar denominator. For element-wise division by an array of divisors, see rdivide.

Source Code: duration