matrix = eye(size)
returns a matrix with the specified size.
eye(2) = [1,0;0,1] eye(3) = [1,0,0;0,1,0;0,0,1]
ones, zeros