I need to find the centroid of a shape (it's basically a sinusoidal-ish shape) using data points. In MATLAB, using the trapz command (it uses the tzoidal rule of integration) I can get the area of the shape. How can I get this shape's centroid numerically?
0 comments:
Post a Comment