Array To Matrix - CA VI
- Updated2025-07-30
- 2 minute(s) read
Converts an array to a matrix of elements of the same type as the array elements. Wire data to the Real 2D Array input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
Complex 1D Array
—
Complex 1D Array specifies a complex one-dimensional array.
Complex Matrix (Column Vector)
—
The elements in Complex Matrix (Column Vector) are of the same type as the elements in Complex 1D Array. The order of the elements in Complex Matrix (Column Vector) is the same as the Complex 1D Array order of the elements. |
If the array elements are not real or complex double-precision floating-point numbers, LabVIEW converts the array elements to the closest data type.
LabVIEW stores the elements of 1D arrays in the first column of the matrix.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Linear Algebra\Matrix Fundamentals.vi
- labview\examples\Mathematics\Linear Algebra\Matrix to a Power.vi
Complex 1D Array
—
Complex Matrix (Column Vector)
—