Generates an identity matrix. An identity matrix has ones on the main diagonal and zeros elsewhere.
c = eye
c = eye(n)
c = eye(m, n)
Number of rows for the identity matrix. m is an integer.
Number of columns for the identity matrix. n is an integer.
Identity matrix with m rows and n columns. c = eye returns a 1. c = eye(n) returns an n-by-n matrix.