Previous Up Next

6.5.3  Ranges of values defined by their center

The center2interval command finds ranges of values determined by their centers.

Examples

center2interval([3,5,8])
     
2.0 .. 4.0,4.0 .. 6.5,6.5 .. 9.5           
center2interval([3,5,8],2.5)
     
2.5 .. 4.0,4.0 .. 6.5,6.5 .. 9.5           

Previous Up Next