Definition

Diagonal matrix is a square matrix in which all the entries off the main diagonal are ‘s .

Example