User`s guide
Minimum
5-309
5Minimum
Purpose Find the minimum values in an input or sequence of inputs.
Library Statistics
Description The Minimum block identifies the value and position of the smallest element 
in each column of the input, or tracks the minimum values in a sequence of 
inputs over a period of time. The 
Mode parameter specifies the block’s mode of 
operation, and can be set to 
Value, Index, Value and Index, or Running. 
Value Mode
When Mode is set to Value, the block computes the minimum value in each 
column of the M-by-N input matrix
u independently at each sample time. 
val = min(u) % Equivalent MATLAB code
For convenience, length-M 1-D vector inputs and sample-based length-M row 
vector inputs are both treated as M-by-1 column vectors.
The output at each sample time, 
val, is a 1-by-N vector containing the 
minimum value of each column in
u. For complex inputs, the block selects the 
value in each column that has the minimum magnitude, 
min(abs(u)), as 
shown below.
The frame status of the output is the same as that of the input.
Index Mode
When Mode is set to Index, the block computes the minimum value in each 
column of the M-by-N input matrix
u, 
[val,idx] = min(u) % Equivalent MATLAB code
abs(u)
Comp
l
ex 
Input (
u)
Output (val)
42i+
3– i–
44i+
1– 4i+
4– i–
4.47
3.16
5.65
4.12
4.12
3– i–










