MATLAB: I have a series of points in a xy plane representing repetitive movements at a specific time frame. How to find the mean coordinate? Can I simply use: xmean= x1+x2+…+xn/#points and ymean=y1+y2+…/#points or there is a proper Matlab Function

mean pointplanar graph

Mean Point in planar Graph

Best Answer

There is a function matlab called mean which does the work, just type :
X = [x1,x2..., xn]
x_mean = mean(X);
Y = [y1,y2..., yn]
y_mean = mean(Y);
Related Question