Dear Friends.
Thank many of you for your help. After a night of think, I got myself the following code to solve some close bottom min data set and eliminated the near by repeat one. Still,
Many thanks for you tips and inspirations!
Xiaxing
BOTTS
NUMB = Dimensions[BOTTS][[1]]
For[i = NUMB - 1, i > 0, i--,
BOTTS = If[BOTTS[[i + 1]] - BOTTS[[i]] < 5, Drop[BOTTS, {i}], BOTTS];]
BOTTS
The BOTTS before the code gives
{2, 262, 520, 522, 775, 1028, 1274, 1517, 1757, 1993, 2225, 2455, \
2684, 2905, 3125, 3344, 3558, 3560, 3769, 3978}
The BOTTS after the code gives
{2, 262, 522, 775, 1028, 1274, 1517, 1757, 1993, 2225, 2455, 2684, \
2905, 3125, 3344, 3560, 3769, 3978}
The code eliminated of the the nearby peak@520,@3558