When the matrix is singular it means that there is not a unique solution to the equations.
But we have three equations and three unknowns, so why is there not a unique solution?
The problem is that there are not three unique equations. The rank function in Octave estimates the rank of a matrix—the number linearly of independent rows or columns in the matrix: