<< CUMSUM Matrix operation palette EXTTRI >>

Ajuda do Scilab >> Xcos > palettes > Matrix operation palette > EXTRACT

EXTRACT

Matrix extractor

Block Screenshot

Contents

Palette

Description

The EXTRACT block extracts some elements from the input matrix. The size of the output depends on the number of rows and number of columns to extract.

The elements of the parameters Lines to extract and Columns to extract specify respectively the indexes of the lines and the columns to be extracted.

The writing of these parameters obeys to the rules of extraction (see extraction), in particular you can give a range of indexes with the colon operator (:).

Dialog box

Example

A=[1 2 3;4 5 6;7 8 9]
If the "Lines to extract" is [1 2] and the "Column to extract" is [1 3] then the output is
B=[1 3;4 6]

Default properties

Interfacing function

Computational function

Example

See also


Report an issue
<< CUMSUM Matrix operation palette EXTTRI >>