Summary: This module provides a link to the Mathworks tutorial on vectors and arrays, and adds a useful piece of information not covered in the tutorial using LabVIEW MathScript.
An excellent tutorial on how to use LABVIEW MATHSCRIPT's vector and array capabilities is at the Inside LABVIEW MATHSCRIPT Tutorial. Here you can view the general use of LABVIEW MATHSCIRPT and find usefull information about data handling capabilities such as arrays and vecotrs.
One useful method of accessing entire rows or entire columns of the matrix is not mentioned in the tutorial. Suppose that the matrix A is defined as
>>A = [1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20]
A =
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
An entire row of A can be obtained by specifying a single ":" as the column index:
>>A(2,:)
ans =
6 7 8 9 10
Similarly, an entire column of A can be obtained by specifying a single ":" as the row index:
>>A(:,3)
ans =
3
8
13
18
"This course provides a brief introduction to LabVIEW MathScript, the textual math componenet of LabVIEW. The modules for this course include typical syntax and programming methods commonly used […]"