Cody

Problem 42818. center of mass

R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center of mass of all mass points proposed by R.

Solution Stats

25.0% Correct | 75.0% Incorrect
Last Solution submitted on Oct 12, 2018

Problem Comments