section

Block Category: Matrix

Inputs: Top input (mat) is a matrix; the remaining inputs (r1, c1, r2, c2) are integers that identify the submatrix by rows and columns.

Description: The section block removes a submatrix from an existing matrix. The subsection to be removed is determined by r1, c1 and r2, c2. inputs

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.

 

Example

Removing a submatrix

In the block diagram below, a 5 x 5 matrix is generated and shown in the display block. The subsection to be removed is a 2 x 2 matrix between row 2, column 2 and row 3, column 3.

sectionexamaple