![]() | LabVIEW 2016 Help |
![]() | LabVIEW 2017 Help |
![]() | LabVIEW 2018 Help |
![]() | LabVIEW 2019 Help |
![]() | LabVIEW 2020 Help |
The Matrix functions manipulate the elements, diagonals, and submatrices of a matrix or 2D numeric array. When the functions attempt to get data that is not available or use more data than is available, the functions perform an invalid operation. In the case of an invalid operation, LabVIEW returns or fills in values at exterior locations in the original matrix or 2D array input. These values that appear in the output matrix or 2D array depend on the data and element type of the original matrix or 2D array input. You perform an invalid operation when the values in the following table appear in the output.
Input Data Type | Element Type | Output Value |
---|---|---|
2D array | Integer | 0 |
Floating point | NaN | |
Complex | NaN + NaNi | |
Matrix | Real matrix | NaN |
Complex matrix | NaN + NaNi |
![]() | Note During invalid operations, LabVIEW returns the values in this table when the operations extract data from a matrix. During special matrix coercion cases, LabVIEW returns a new data type to pad new locations when you add new elements to a matrix, causing the matrix to expand. |
Helpful
Not Helpful