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?

1 Ansicht (letzte 30 Tage)
Mean Point in planar Graph

Akzeptierte Antwort

Lilian Darracq
Lilian Darracq am 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);

Weitere Antworten (0)

Kategorien

Mehr zu Just for fun finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by