I would like to write an equation to sum the values of each number in a vector divided by the length of the vector. What is the proper way to write this formula?
As an example, consider vector v:
v = [1, 2, 3, 4] 2.5 = 1/4 + 2/4 + 3/4 + 4/4
Is this the proper way to write this?
$\sum_{i=1}^N \frac{i}{length}$