Table Of Contents

Get Submatrix (G Dataflow)

Version:
Last Modified: December 18, 2017

Returns a submatrix of matrix starting at (row 1, column 1) and ending at (row N, column N).

Programming Patterns

Wire inputs to Get Matrix Elements to retrieve elements that are not next to each other in matrix.

connector_pane_image
datatype_icon

matrix

2D array of any numeric type.

datatype_icon

row 1

First row in matrix you want to appear in the output.

Must be an integer or real numeric.

Default: 0

datatype_icon

row N

Last row in matrix you want to appear in the output.

Must be an integer or real numeric.

Default: The index of the last row in matrix.

datatype_icon

column 1

First column in matrix you want to appear in the output.

Must be an integer or real numeric.

Default: 0

datatype_icon

column N

Last column in matrix you want to appear in the output.

Must be an integer or real numeric.

Default: The index of the last column in matrix.

datatype_icon

submatrix

The resulting submatrix. If matrix is an empty matrix, submatrix returns matrix. The data type of submatrix is the same as the data type of matrix.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics