Main Content

times, .*

Transformation element-wise multiplication

    Description

    transformationC = transformationA.*transformationB multiplies transformations element-by-element by multiplying each element of transformation transformationA with the corresponding element of transformation transformationB and returns the product, transformation transformationC.

    You can use transformation multiplication to compose a sequence of transformations, so that transformationC represents a transformation where transformationB is applied first, followed by transformationA.

    Input Arguments

    collapse all

    First transformation, specified as an se2, se3, so2, or so3 object, or as an M-element array of transformation objects. M is the total number of transformations.

    If you specify transformationA as an array, each element must be of the same type, and transformationB must be an array of the same type and size as transformationA.

    Last transformation, specified as an se2, se3, so2, or so3 object, or as an M-element array of transformation objects. M is the total number of transformations.

    If you specify transformationB as an array, each element must be of the same type, and transformationA must be an array of the same type and size as transformationB.

    Output Arguments

    collapse all

    Transformation product, returned as an se2, se3, so2, or so3 object, or as an M-element array of the same transformation type as transformationA and transformationB. M is the length of transformationA and each row represents the product the corresponding elements between transformationA and transformationB.

    Version History

    Introduced in R2022b

    See Also

    Functions

    Objects