Suppose I have the following formula. It calculates the average value of $n$ evenly spaces numbers on the range from $L$ to $H$.
1/n Sum[x, {x, L, H, (H - L)/(n - 1)}]
My question is, how can I use Mathematica to compute the average value of the above, when I remove a specific number from the sequence. I am looking for an elegant solution, perhaps one that removes a particular index, or some other method I have not thought about.
Ideally, the solution should allow me to plot the average of the numbers on the Y-axis, and the removed index on the X-axis.