I have the equation shown below to calculate the average of a number of numbers stored in a vector. I would like to know how I could put this function in matlab, since it is