I have a series of points in a xy plane representing repetitive movements at a specific time frame. How can I 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?
3 views (last 30 days)
Show older comments
Tommaso Di Noto
on 25 Apr 2017
Commented: Tommaso Di Noto
on 25 Apr 2017
Mean Point in planar Graph
2 Comments
Accepted Answer
Lilian Darracq
on 25 Apr 2017
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);
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!