Matlab identity matrix

broken image
broken image

Represent the matrix as a structured array

IdentityMatrix gives the identity matrix as a SparseArray object.IdentityMatrix by default creates a matrix containing exact integers.The n  n identity matrix is symmetric, positive definite and unitary, while the m  n identity matrix is unitary.The n  n identity matrix ℐ satisfies the relation m.The entries of the identity matrix are given by that is, one for main diagonal entries and zeros elsewhere.

broken image

broken image