I’d like to compute an average of a data column using a sliding window with varying size of the window. For example;
Data, Ave2
1, 0
2, 1.5
3, 2.5
4, 3.5
5, 4.5
3, 4
4, 3.5
2, 3
1, 1.5
The Ave2 column is the average of a sliding window of 2 values from ‘data’ – I’d like to use a slider to vary the window width. Any how, I have not been able to figure out how to do even a fixed window size sliding average.