duration

Methods

Method Reference: duration.eps

duration: E = eps (D)

Spacing of duration values.

E = eps (D) returns the distance from each element of D to the next duration that can be told apart from it, as a duration array of the same size. It is the resolution available at that magnitude: two durations closer together than this are the same value. eps of a negative duration is that of its magnitude, and eps of NaN is NaN.

The spacing is that of the milliseconds a duration is stored in, which is what MATLAB stores too, so the two agree exactly.

Source Code: duration