| MATLAB Function Reference | ![]() |
b = trace(A)
b = trace(A) is the sum of the diagonal elements of the matrix A.
trace is a single-statement M-file.
t = sum(diag(A));
![]() | toolboxdir | transpose (timeseries) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |