CREATESCALING3D Create the 4x4 matrix of a 3D scaling. TRANS = createScaling3d(S); returns the scaling transform corresponding to a scaling factor S in each direction. S can be a scalar, or a 1-by-3 vector containing the scaling factor in each direction. TRANS = createScaling3d(SX, SY, SZ); returns the scaling transform corresponding to a different scaling factor in each direction. The returned matrix has the form : [SX 0 0 0] [ 0 SY 0 0] [ 0 0 SZ 0] [ 0 0 0 0] See also: transforms3d, transformPoint3d, transformVector3d, createTranslation3d, createRotationOx, createRotationOy, createRotationOz
Package: matgeom