Moment of inertia with coordinates

62 次查看(过去 30 天)
ehsan kuse
ehsan kuse 2022-3-11
评论: Sam Chak 2022-3-12
Hello to all. Does anyone know how to get the moment of inertia by giving the coordinates of the points in matlab?
  5 个评论
ehsan kuse
ehsan kuse 2022-3-12

It is also the shape of a polygon. I will send you a picture of the code below

请先登录,再进行评论。

回答(2 个)

J Chen
J Chen 2022-3-11
Moment of inertia is or , where m is the mass, r is the distance to the rotation axis.
  4 个评论
Image Analyst
Image Analyst 2022-3-12
@ehsan kuse, did you totally overlook my Answer below? It does that.
Sam Chak
Sam Chak 2022-3-12
Hey @ehsan kuse
The Coordinate alone is not sufficient. You still need to know where the axis of rotation is, as mentioned by @J Chen. Are the centroid coordinate (center or mass) and the axis of rotation collinear?
Take the bob as an example, which is typically a solid spherical mass m on the end of a pendulum system. The moment of inertia about its center of mass is given by
.
However, if the bob is suspended from a pivot using a cord (massless) or a rod (rigid), and it rotates about the pivot point, then the moment of inertia of the entire system (called pendulum) is calculated differently, depending whether it is a simple pendulum, or a compound pendulum.
You can explore the spatial moments of inertia program shared by @Image Analyst.

请先登录,再进行评论。


Image Analyst
Image Analyst 2022-3-11
Attached is my demo of how to get image moments. These are spatial moments of inertia about the center of the blob I identified. You could adapt it to just not segment the image and take the origin/centroid as the middle pixel (columns/2, rows/2) if you want.

类别

Help CenterFile Exchange 中查找有关 Assembly 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by