We know that it is possible to write a matrix by LU decomposition as a product of an upper triangular matrix in a lower triangular matrix. But now my question is, is it possible to get just one diagonal matrix equivalent to any independent or dependent matrix? In addition, we know that with the stepwise row method, a matrix can be converted to upper triangular or lower triangular. But if we continue this process, can we get a diagonal matrix? Or is there another method or not? Thanks