<< MATZREIM Math operations palette MAX_f >>

Scilab Help >> Xcos > palettes > Math operations palette > MAXMIN

MAXMIN

Max or min value of a vector, or element-wise for N vectors

Block Screenshot

Contents

Description

This block finds the minimum/maximum values (parameter Min or Max) and accepts one or two inputs depending on the parameter Number of input vectors :

Number of input vectors Input Operation
1 Vector The input must be a vector and the bloc output is the minimum/maximum value of the elements of its input vector.
2 Scalar The block output is the minimal or maximal scalar.
2 Vector All p input vectors must have the same length N. The block output is a vector with the same length N. The element output(i) of the output vector is min(input_1(i), input_2(i),..,input_p(i)) or max(input_1(i), input_2(i),..,input_p(i)), for i=1..N.

Parameters

Default properties

Interfacing function

Computational function

See also


Report an issue
<< MATZREIM Math operations palette MAX_f >>