duration.gt
duration: TF = gt (A, B)
Equality for duration arrays.
TF = gt (A, B) is the equivalent of the syntax
TF = A > B and returns a logical array whose
elements set to true where the corresponding elements of A
are greater than B and set to false otherwise.
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.
One of the input arguments can also be a character vector, a cell array of character vectors, or a string array representing duration strings or a numeric array representing days.
Source Code: duration