Sum of diagonal elements
b = trace(A)
b = trace(A) is the sum
of the diagonal elements of the matrix A.
t = sum(diag(A));
det | eig
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.