Identity matrix
Y = eyeq(N)
eyeq(X) returns a quaternion identity matrix. The vector part is always zero, and the scalar part is a real identity matrix, as returned by the MATLAB® eye function. Accepts the same parameters as the MATLAB® eye function.
>> show(eyeq(2)) S = 1 0 0 1 X = 0 0 0 0 Y = 0 0 0 0 Z = 0 0 0 0