Main Content

transform

Class: simscape.multibody.MassDistribution
Package: simscape.multibody

Transform inertia to different frame

Description

nmd = transform(md,T) transforms the provided simscape.multibody.MassDistribution object, md, by using the 3-D rigid transformation, T. If T is a transformation from the implicit reference frame of the mass distribution to a new frame, the method returns the same MassDistribution object, but expressed in the new frame.

Input Arguments

expand all

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

3-D rigid transformation from the implicit reference frame of a mass distribution to a new frame, specified as a simscape.multibody.Transformation object.

Output Arguments

expand all

New mass distribution after the specified 3-D rigid transformation, returned as a simscape.multibody.MassDistribution object. The returned value is the same mass distribution but expressed in a new frame.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a