center2interval takes as argument a vector V of reals
and optionally a real as second argument
(by default V-(V-V)/2).
center2interval returns a vector of intervals having the real values of the first argument as centers, where the value of the second argument is the left boundary of the first interval.
Or (since the default value is 3-(5-3)/2=2) :