Minimum / Maximum
Purpose
Output input signal with highest resp. lowest value
Library
Control / Math
Description
The Minimum / Maximum block compares its input signals against each other. If the Operation parameter is set to Minimum, the output will be set to the value of the input signal with the lowest value. If the Operation parameter is set to Maximum, the output will be set to the value of the input signal with the highest value.
In case of a single input, all elements of the input vector are compared. Vectorized input signals of the same width are compared element wise and result in a vectorized output signal. If vectorized and scalar input signals are mixed, the scalar input signals are expanded to the width of the vectorized input signals.
Parameters
- Operation
- Selects between Minimum and Maximum as described above.
- Number of inputs
- The number of inputs.
Probe Signals
-
Input
- The
th input signal.
- Output
- The block output signal.