Diagonal MatricesA diagonal matrix is a type of symmetric matrix in which every element is set to 0 apart from the main diagonal.ExampleScalar MatricesA scalar matrix is a type of diagonal matrix in which every element along the diagonal is equal, while every other element is set to 0.Example