isuniform
Description
returns
the logical scalar tf = isuniform(v)1 (true) when the elements of
numeric vector v are uniformly spaced up to round-off tolerance
and 0 (false) otherwise. The input
v is uniformly spaced if its elements increase or decrease with a
constant, finite step size.