Divide array by vector along specified dimension
The ArrayVectorDivider
object divides an array
by a vector along a specified dimension.
To divide an array by a vector along a specified dimension:
Define and set up your array-vector division object. See Construction.
Call step
to divide the array according
to the properties of dsp.ArrayVectorDivider
. The
behavior of step
is specific to each object in the
toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
avd = dsp.ArrayVectorDivider
returns
an array-vector division object, avd
, that divides
an input array by the elements of a vector along the first dimension
of the array.
avd = dsp.ArrayVectorDivider('
returns
an array-vector division object, PropertyName
',PropertyValue
,...)avd
, with each property
set to the specified value.
|
Dimension along which to divide input by vector elements Specify the dimension along which to divide the input array
by the elements of a vector as a positive integer. The default is |
|
Source of vector Specify the source of the vector values as | |
|
Vector values Specify the vector values. This property applies when you set the
|
step | Divide array by vector |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
This object implements the algorithm, inputs, and outputs described on the Array-Vector Divide block reference page. The object properties correspond to the block parameters, except:
The array-vector division object does not have Minimum or Maximum options for data output. |