Package: dsp
Subtract vector from array along specified dimension
The ArrayVectorSubtractor
object subtracts
a vector from an ND array along a specified dimension.
To subtract a vector from an ND array along a specified dimension:
Define and set up your arrayvector subtraction object. See Construction.
Call step
to subtract the vector
according to the properties of dsp.ArrayVectorSubtractor
.
The behavior of step
is specified to each object
in the toolbox.
Note:
Starting in R2016b, instead of using the 
H = dsp.ArrayVectorSubtractor
returns
an arrayvector subtraction object, H
, that subtracts
the elements of a vector from an ND input array along the first dimension.
H = dsp.ArrayVectorSubtractor('
returns
an arrayvector subtraction object, PropertyName
',PropertyValue
,...)H
, with each
property set to the specified value.

Dimension along which to subtract vector elements from input Specify the dimension along which to subtract the elements of
the vector from the input array as an integervalued scalar greater
than 

Source of vector Specify the source of the vector values as one of 

Vector values Specify the vector values. This property applies when you set
the 
clone  Create arrayvector subtractor 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 
step  Subtract vector from array along specified dimension 
This object implements the algorithm, inputs, and outputs described on the ArrayVector Subtract block reference page. The object properties correspond to the block parameters, except:
The arrayvector subtraction object does not have Minimum or Maximum options for data output. 