How to define inertia of a body block in SimMechanics?

조회 수: 1 (최근 30일)
Chih-Heng
Chih-Heng 2011년 11월 9일
답변: Steve Miller 2022년 12월 21일
Hello,
The inertia has to expressed in 3-by-3 matrix. I just don't really know how to put in this section and the help menu doesn't explain it that well. Can someone give me an example like a circle or a cube and show me how to define its inertia?
thanks,
Saxon

답변 (1개)

Steve Miller
Steve Miller 2022년 12월 21일
For symmetrical objects, such as a sphere or a cylinder, the inertia matrix will have the moments of inertia along the diagonal and zeroes on the off-diagonal elements.
For a sphere, you can enter it as [1 0 0;0 1 0;0 0 1], where 1 is the moment of inertia about an axis. You can easily find moment of inertia formulas online and in many textbooks, and you can write MATLAB code to calculate those values based on the dimensions of your solid.
--Steve

카테고리

Help CenterFile Exchange에서 Bodies에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by