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 (최근 30일)
Mean Point in planar Graph

채택된 답변

Lilian Darracq
Lilian Darracq 2017년 4월 25일
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);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by