User`s guide

Submatrix
5-422
5Submatrix
Purpose Select a subset of elements (submatrix) from a matrix input.
Library Math Functions / Matrices and Linear Algebra / Matrix Operations,
Signal Management / Indexing
Description The Submatrix block extracts a contiguous submatrix from the M-by-N input
matrix
u. A length-M 1-D vector input is treated as an M-by-1 matrix. The Row
span
parameter provides three options for specifying the range of rows in u to
be retained in submatrix output
y:
All rows
Specifies that y contains all M rows of u.
One row
Specifies that y contains only one row from u. The Starting row parameter
(described below) is enabled to allow selection of the desired row.
Range of rows
Specifies that y contains one or more rows from u. The Row and Ending row
parameters (described below) are enabled to allow selection of the desired
range of rows.
The
Column span parameter contains a corresponding set of three options for
specifying the range of columns in
u to be retained in submatrix y: All
columns
, One column, or Range of columns. The One column option enables
the
Column parameter, and Range of columns options enable the Starting
column
and Ending column parameters.
The output has the same frame status as the input.
Range Specification Options
When One row or Range of rows is selected from the Row span parameter,
the desired row or range of rows is specified by the
Row parameter, or the
Starting row and Ending row parameters. Similarly, when One column or
Range of columns is selected from the Column span parameter, the desired
column or range of columns is specified by the
Column parameter, or the
Starting column and Ending column parameters.