<< Chapter < Page | Chapter >> Page > |
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 1011 12 13 14 15
16 17 18 19 20]A =
1 2 3 4 56 7 8 9 10
11 12 13 14 1516 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
813
18
Notification Switch
Would you like to follow the 'Introduction to labview mathscript' conversation and receive update notifications?