ScalingMatrix

ScalingMatrix[{sx,sy,}]

gives the matrix corresponding to scaling by a factor si along each coordinate axis.

ScalingMatrix[s,v]

gives the matrix corresponding to scaling by a factor s along the direction of the vector v.

Details

Examples

open allclose all

Basic Examples  (2)

Scaling by factors a, b, and c along the , , and directions:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
In[2]:=
Click for copyable input
Out[2]=

Scaling by a factor s along the direction of the vector :

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Applications  (2)

Properties & Relations  (4)

Neat Examples  (1)

See Also

ScalingTransform  Scale  Magnify  RotationMatrix

Tutorials

Introduced in 2007
(6.0)