Skip to content

Min

The Min block returns the smaller value at each position.

y = min(a, b)

Port Direction Type
0, 1 Input Same numeric scalar type, or same-shape numeric arrays
0 Output Same type as inputs

Arrays are compared element by element; a scalar second operand is broadcast when the first input is an array.

None.

For inputs a = 4.0 and b = 6.0, the output is y = 4.0.