What I am trying to do is take the average of values in a 3-dimensional array.
For example I have an array MyArray(1 to x, 1 to y, 1 to z)
What I want to do, for example, is obtain the average of the values MyArray(1, 1, 1 to z). Holding the first and second dimension at index 1, and taking the average of the values down the third dimension. Is there any easier way of accomplishing this than by looping through the array and storing the values into another array, and then taking the average of the resulting array?
Bookmarks