Computes the sum of all diagonal elements in a matrix.
c = trace(a)
Scalar or square matrix.
Sum of all diagonal elements in a. c is a scalar. If a is single-precision, c is single-precision, otherwise c is double-precision.
C = trace(ones(3, 3))
Installed By: LabVIEW Communications System Design Suite (introduced in 1.0)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported