geometric_mean.m

%Calculate the geometric mean %do not use the prod or sum built-ins %Do not use the geomean MATLAB built-in %Make sure to store the mean in the g_mean variable %@param data - a vector of values used in calculating the geometric mean %@author Thomas Wilkins function g_mean = geometric_mean(data) %your code goes here end