Nom

SUBMAT — Sub-matrix extraction

Block Screenshot

Contents

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/modules/scicos_blocks/macros/MatrixOp/SUBMAT.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/submat.c

  • SCI/modules/scicos_blocks/src/c/submatz.c

Authors

Fady NASSIF - INRIA