Diagonal matrix play important role in matrix operation because diagonal matrix behave almost similar to a scalar. Click here to learn more about the properties of diagonal matrix and how to change a square matrix into a diagonal matrix.
The interactive program below is designed to answers the question whether the given input matrix is a diagonal matrix. When you click "Random Example" button, it will create random input matrix to provide you with many examples of diagonal and non-diagonal matrices. You may also want to try to type your own input matrix to test whether it is a diagonal matrix.