SUBMAT

Scicos Block
fr - eng

##
SUBMAT Sub-matrix extraction

### Contents

- SUBMAT Sub-matrix extraction
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- Matrix - Matrix operation palette

### Description

This block outputs a sub matrix of the input matrix. The output matrix will be defining by using the parameters of this block.

### Dialog box

- Datatype (1=real double 2=Complex)
  Type of the output matrix. It can be double or complex.
  Properties : Type 'vec' of size 1.

- Starting Row Index
  The first row of the submatrix.
  Properties : Type 'vec' of size 1.

- Ending Row Index
  The last row of the Submatrix.
  Properties : Type 'vec' of size 1.

- Starting Column Index
  The first column of the submatrix.
  Properties : Type 'vec' of size 1.

- Ending Column Index
  The last row of the submatrix.
  Properties : Type 'vec' of size 1.

- Input Dimension
  The Matrix input dimensions.
  Properties : Type 'vec' of size 2.

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
  - port 1 : size [-1,-2] / type 1
- regular outputs:
  - port 1 : size [-1,-2] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: submat

### Interfacing function

- SCI/macros/scicos_blocks/MatrixOp/SUBMAT.sci [view code]

### Computational function

- SCI/routines/scicos/submat.c [view code]
- SCI/routines/scicos/submatz.c [view code]

### Authors

Fady NASSIF INRIA