How to define inertia of a body block in SimMechanics?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Steve Miller
le 21 Déc 2022
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 commentaires
Voir également
Catégories
En savoir plus sur Bodies dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!