I have to produce a random 3×3 matrix A that is invertible and display it. I have a couple questions:
- How do I know when a matrix is invertible? I used the command (inv) on the random 3×3 matrix that I had created and I got a 3×3 matrix with different numbers. Does this mean that the matrix is invertible?
- I also got a hint with the question: Use a while-loop until you get one with non-zero determinant. I am confused by this because I used the determinants command (det) on my 3×3 matrix and got a nonzero determinant. I feel like I might be missing something here.
Best Answer