CREATESCALING Create the 3*3 matrix of a scaling in 2 dimensions. TRANS = createScaling(SX, SY); return the matrix corresponding to scaling by SX and SY in the 2 main directions. The returned matrix has the form: [SX 0 0] [0 SY 0] [0 0 1] TRANS = createScaling(SX); Assume SX and SY are equals. TRANS = createScaling(CENTER, ...); Specifies the center of the scaling transform. The argument CENTER should be a 1-by-2 array representing coordinates of center. See also: transforms2d, transformPoint, createTranslation, createRotation
Package: matgeom