In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero
A diagonal matrix can be constructed from a vector :
Matrix Multiplication
which implies,
In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero
A diagonal matrix can be constructed from a vector a=(a1,…,an)t:
a10⋮00a2⋮0⋯⋯⋱⋯00⋮an=diag(a1,a2,…,an)which implies,
diag(a1,a2,…,an)=diag(a1k,a2k,…,ank)