IdentityMatrix
IdentityMatrix(n)
gives the identity matrix with
n
rows and columns.
IdentityMatrix({n,m})
gives the identity matrix with
n
rows andm
columns.
See
Examples
>> IdentityMatrix(3){{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}
Implementation status
- ✅ - full supported