# Calculation of average of all possible slices of 1d-array

Advertisements I have a (big) 1d array of measurement data. I want to calculate the average for every possible slice defined by a start-index and a stop-index. Like cutting at both ends of my data and average every possible cut. The result should be stored in a square 2D array (actually a triangle, as the… Read More Calculation of average of all possible slices of 1d-array