Main Content


Class: simscape.multibody.MassDistribution
Namespace: simscape.multibody

Compute inertia matrix

Since R2022a


IM = inertiaMatrix(md) computes the inertia matrix of the provided simscape.multibody.MassDistribution object, md.

Input Arguments

expand all

Mass distribution, specified as a simscape.multibody.MassDistribution object.

Output Arguments

expand all

Inertia matrix of the mass distribution, returned as a simscape.Value object that represents a 3-by-3 matrix with a unit of mass*length^2. The diagonal elements of the inertia matrix are the moments of inertia, and the off-diagonal elements of the inertia matrix are the products of inertia.



To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a