Identity matrix - MATLAB eye - MathWorks - MATLAB and Simulink for Technical Computing
Size of first dimension of I, specified as an integer value. If n is the only integer input argument, then I is a square n-by-n identity matrix. If n is 0, then I is an empty matrix. If n is negative, then it is treated as 0. Data Types: double | single |...