Package: dsp
Find minimum values of input or sequence of inputs
The Minimum
object finds the minimum value
of an input or sequence of inputs.
To compute the minimum value of an input or sequence of inputs:
Define and set up your System object™. See Construction.
Call step
to compute the minimum according to the
properties of dsp.Minimum
. The behavior of step
is
specific to each object in the toolbox.
H = dsp.Minimum
returns
an object, H
, that computes the value and/or index
of the minimum elements in an input or a sequence of inputs over the
specified Dimension
.
H = dsp.Minimum('
returns
a minimumfinding object, PropertyName
',PropertyValue
,...)H
, with each specified
property set to the specified value.

Output minimum value Set this property to 

Calculate over single input or multiple inputs When you set this property to 

Output index of minimum value Set this property to 

Additional input to enable resetting of running minimum Set this property to 

Condition that triggers resetting of running minimum Specify the event that resets the running minimum as one of
 

Numbering base for index of minimum value Specify the numbering used when computing the index of the minimum
value as starting from either 

Dimension to operate along Specify how the minimum calculation is performed over the data
as one of  

Numerical dimension to calculate over Specify the integer dimension of the input signal over which
the object finds the minimum. The cannot exceed the number of dimensions
in the input signal. This property only applies when you set the 

Enable regionofinterest processing Set this property to For full ROI processing support, install the Computer Vision System Toolbox™ product.
If you only have the DSP System Toolbox™ product installed,
you can only specify the value of the 

Type of region of interest Specify the type of region of interest as one of  For full ROI processing support, install the Computer Vision System Toolbox product.
If you have only the DSP System Toolbox product installed,
you can only specify the as 

Calculate over entire ROI or just perimeter Specify whether to calculate the minimum over the 

Calculate statistics for each ROI or one for all ROIs Specify whether to calculate 

Output flag indicating if any part of ROI is outside input image When you set the 
clone  Create minimumfinding object with same property values 
getNumInputs  Number of expected inputs to step method 
getNumOutputs  Number of outputs of step method 
isLocked  Locked status for input attributes and nontunable properties 
release  Allow property value and input characteristics changes 
reset  Reset internal states of minimumfinding object 
step  Operate on inputs to calculate outputs 
Find a minimum value and its index:
hmin1 = dsp.Minimum; x = randn(100,1); [y, I] = step(hmin1, x);
Compute a running minimum:
hmin2 = dsp.Minimum; hmin2.RunningMinimum = true; x = randn(100,1); y = step(hmin2, x); % y(i) is the minimum of all values in the vector x(1:i)
This object implements the algorithm, inputs, and outputs described on the Minimum block reference page. The object properties correspond to the block parameters, except:
Treat samplebased row input as a column block
parameter is not supported by the dsp.Minimum object. 