IdentityMatrix

IdentityMatrix[n]

gives the nn identity matrix.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Construct a 3×3 identity matrix:

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

Scope  (1)

Options  (1)

Properties & Relations  (3)

Possible Issues  (1)

See Also

DiagonalMatrix  KroneckerDelta  UnitVector  Table

Tutorials

Introduced in 1988
(1.0)
| Updated in 2008
(7.0)