FUNCTION REFERENCE
affinetform2d.isSimilarity
Test whether a 2-D affine transformation is a similarity transformation.
Test whether a 2-D affine transformation is a similarity transformation.
Syntax
tf = isSimilarity(tform)Syntax
tf = tform.isSimilarity()Returns true when the linear 2-by-2 part is a uniform scale times an orthogonal matrix, including reflections, within tolerance.
Example
t = affinetform2d([2 0 1; 0 2 0; 0 0 1]); t.isSimilarity() % trueDifferences from MATLAB: Uses a 1e-10 tolerance on the 2-by-2 matrix structure check.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.