Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Array to Matrix

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Converts an array to a matrix of elements of the same type as the array elements. The data type you wire to the Real 2D Array input determines the polymorphic instance to use.

Details  Examples

Use the pull-down menu to select an instance of this VI.

To Real Matrix

Real 2D Array specifies a two-dimensional array.
The elements in Real Matrix are of the same type as the elements in Real 2D Array. The order of the elements in Real Matrix is the same as the Real 2D Array order of the elements.

To Column Vector

Real 1D Array specifies a one-dimensional array.
The elements in Real Matrix (Column Vector) are of the same type as the elements in Real 1D Array. The order of the elements in Real Matrix (Column Vector) is the same as the Real 1D Array order of the elements.

To Complex Matrix

Complex 2D Array specifies a complex two-dimensional array.
The elements in Complex Matrix are of the same type as the elements in Complex 2D Array. The order of the elements in Complex Matrix is the same as the Complex 2D Array order of the elements.

To Complex Column Vector

Complex 1D Array specifies a complex one-dimensional array.
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.

Array to Matrix Details

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 VIs for examples of using the Array to Matrix VI:

  • Matrix Fundamentals VI: labview\examples\math\matrices.llb
  • Matrix to a Power VI: labview\examples\math\matrices.llb

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit