FUNCTION REFERENCE

invert

Inverse of a 2-D geometric transformation, as an object of the same class.

Inverse of a 2-D geometric transformation, as an object of the same class.

Syntax

tformInv = invert(tform)

Rigid: angle -r and translation -R'*t; similarity: scale 1/s as well; translation: -t; affine2d and affinetform2d: the inverse matrix.

Example

t = invert(rigidtform2d(30, [1 2])); t.RotationAngle   % -30

Example

t = invert(transltform2d(3, 4)); t.Translation   % [-3 -4]

Differences from MATLAB: none known for the 2-D classes listed here.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.