Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vector Slice Block

Vector Slice Block

The Vector Slice block outputs an arbitrary sub-vector from within a larger vector, given a starting row, column position and output shape (rows,columns).

Parameters

  • Row0 (default = 0): Starting row in input vector.
  • Col0 (default = 0): Starting column in input vector.
  • Shape (default = [1,2]): Shape of output in row,column format.

Examples

Vector Slice Example