Main Content

showdetails

Display transformation in compact form

Since R2022b

    Description

    showdetails(transformation) displays the translational and rotational components of the transformation transformation on a single line. The rotation units are in degrees.

    showdetails(rotation) displays the rotational components of the rotation rotation on a single line.

    showdetails(___Name=Value) specifies additional options using one or more name-value arguments.

    Input Arguments

    collapse all

    Transformation, specified as a scalar se2 object, a scalar se3, or an N-element array of transformation objects. N is the total number of transforms.

    If you specify transformation as an array, each element must be of the same type. Additionally, showdetails prints the details on a new line for each of the N transformations.

    Rotation, specified as a scalar so2 object, a scalar so3 object, or as an N-element array of rotation objects. N is the total number of rotations.

    If you specify rotation as an array, each element must be of the same type. Additionally, showdetails prints the details on a new line for each of the N rotations.

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

    Example: showdetails(T,Sequence="ZYX")

    Euler angle sequence order, specified as one of these string scalars:

    • "ZYX" (default)

    • "ZYZ"

    • "ZXY"

    • "ZXZ"

    • "YXY"

    • "YZX"

    • "YXZ"

    • "YZY"

    • "XYX"

    • "XYZ"

    • "XZX"

    • "XZY"

    Each character indicates the corresponding axis. For example if the sequence is "ZYX", then the printed order of rotation angles is z-axis, y-axis, and then the x-axis.

    This parameter does not affect the output when transformation contains an se2 object or if rotation contains an so2 object.

    Example: showdetails(T,Sequence="ZYX")

    Data Types: char | string

    Angle unit, specified as "deg" for degrees, or "rad" for radians.

    Example: showdetails(T,AngleUnit="rad")

    Data Types: char | string

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2022b

    See Also

    Functions

    Objects