Returns an Identity matrix

ones(n)

Arguments

n

size of the matrix

Value

a identity matrix