Skip to main content

IdentityMatrix

IdentityMatrix[n] gives the nn identity matrix. 

IdentityMatrix[{m,n}] gives the mn identity matrix.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.