Trace VI
- Updated2025-07-30
- 1 minute(s) read
Finds the trace of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.

The VI uses the following equation to compute the trace.
where A is Input Matrix, tr(A) is trace, and m and n are the number of rows and the number of columns of Input Matrix, respectively.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Linear Algebra\Linear Algebra Calculator.vi