Enter the elements of the matrix:
Matrix Trace:
It is the sum of the elements that run from the upper-left corner to the lower-right corner on the main diagonal of a square matrix.
Illustrative example:
For 2x2 matrix A:
A = [2 4]
[1 3]
Trace(A) = 2 + 3 = 5
For 3x3 matrix B:
B = [1 0 2]
[-1 5 3]
[4 6 8]
Trace(B) = 1 + 5 + 8 = 14
Comments
Post a Comment