Diagonal matrix is a data structure that stores the diagonal elements of a square matrix whose other values are all zero. Diagonal matrices can be declared using the DIAGONALMATRIX directive. Updated on February 25, 2019 Was this article helpful? Yes No