dsp.ArrayVectorDivider System object
Divide array by vector along specified dimension
Description
TheArrayVectorDivider
对象将数组沿指定的维度划分为向量。
将数组沿指定维度划分为向量:
Define and set up your array-vector division object. SeeConstruction。
Call
step
to divide the array according to the properties ofdsp.ArrayVectorDivider
。The behavior ofstep
is specific to each object in the toolbox.
不te
Starting in R2016b, instead of using thestep
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)
和y = obj(x)
perform equivalent operations.
Construction
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.
Properties
|
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 |
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on theArray-Vector Divideblock reference page. The object properties correspond to the block parameters, except:
The array-vector division object does not haveMinimum或者Maximum数据输出的选项。 |