How to define inertia of a body block in SimMechanics?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Bodies에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!