@Mudge,
Maybe we have here just some confusion ... at least from my part, because you mentioned taking the average of samples. However, you actually say 'weighted average'. In a sense every filter in the time domain is a weighted average of a number of samples. I only never looked at it that way. The question is, where do those weights come from? As I said above, there is a way of transforming a calculation from the frequency domain to the time domain and that will deliver those weights.