Navigation: Language Reference > Functions > Matrix >
Y = eye(n);
Returns the the n-by-n identity matrix.
Y = eye(3);
Y must be a matrix of size [n,n]. n must be an integer value.