The zeros, ones and eye Commands • The zeros(m,n), the ones(m,n), and eye(n) commands can be used to create matrices that have elements with special values. • The zeros(m,n) and the ones(m,n) commands create a matrix with m rows and n columns, in which all the elements are the numbers 0 and 1, respectively. • The eye(n) command creates a square matrix with n rows and n columns in which the diagonal elements are equal to 1, and the rest of the elements are 0.