MATSING Matrix operation palette MATTRAN

Manuel Scilab >> xcos > palettes > Matrix operation palette > MATSUM

MATSUM

Matrix Sum

Block Screenshot

Contents

Palette

Description

The MATSUM block returns the sum of the element of an input matrix/vector. When the Sum along is set to all the block outputs the sum of all the elements of the matrix. The output is then a scalar. When the Sum along is set to lines the block is a row-wise sum. The output is a row vector. When the Sum along is set to Columns the block is a column-wise sum. The output is a column vector. The equivalent function of this block in Scilab is: "sum".

Dialog box

Default properties

Interfacing function

Computational function

See also

Authors

Fady NASSIF - INRIA

MATSING Matrix operation palette MATTRAN