Question: what is the difference between scalar matrix and diagonal matrix?
Answer: Answer: A square matrix A is called a diagonal matrix if all the elements, except those in the leading diagonal, are zero. Thus, in a scalar matrix all the diagonal elements are equal whereas in the diagonal matrix the elements in the diagonal are not equal.