National Instruments BridgeVIEW 用户手册
Chapter 14
Arrays, Clusters, and Graphs
14-12
© National Instruments Corporation
Array Subset
You can use this function to extract a portion of an array or matrix.
Array Subset returns a portion of an array starting at index and
containing length elements. The following illustrations show examples
of Array Subsets. Notice that the array index begins with 0.
containing length elements. The following illustrations show examples
of Array Subsets. Notice that the array index begins with 0.
3
2
5
1
4
2
2
3
2D Array
2 Rows
3 Columns
3 Columns
Size =
1
2
7
3
2
5
8
2
4
1D Array
Index
Length
New 1D Array
7
3
2
5
1
4
2
7
2
5
7
1
7
3
2
5
0
2
Row Index
2D Array
New 2D Array
Row Length
1
3
Column Index
Column Length
3
2
5
5
7
1