IdentityMatrix
IdentityMatrix[n] gives the identity matrix.
See The Mathematica Book on the web: Section 1.8.3 and Section 3.7.1. See also: DiagonalMatrix, Table.
Further Examples