Returns the a matrix with the given number of rows and columns. Every element of this matrix has the value one.
ones(3,3) 1 1 1 1 1 1 1 1 1
length. size. eye. zeros. setsize.