FUNCTION REFERENCE

isTranslation

True if a 2-D affine transformation only translates.

True if a 2-D affine transformation only translates.

Syntax

tf = isTranslation(tform)

For affine2d and affinetform2d: the 2-by-2 part must be the identity within 1e-10.

Example

isTranslation(affine2d([1 0 0; 0 1 0; 4 5 1]))   % true

Differences from MATLAB: the 1e-10 tolerance is MatRust's choice.

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