<< CUMSUM Matrix_pal EXTTRI >>

Scilab Help >> Xcos > palettes > Matrix_pal > EXTRACT

EXTRACT

Matrix extractor

Block Screenshot

Contents

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 (:).

Parameters

Default properties

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]

Interfacing function

Computational function

See also


Report an issue
<< CUMSUM Matrix_pal EXTTRI >>