step

System object: dsp.ArrayVectorAdder
Package: dsp

Add vector to N-D array

Syntax

Y = step(H,A)
Y = step(H,A,V)

Description

Y = step(H,A) returns Y , the result of adding the input array A to the elements of the vector specified in the Vector property along the specified dimension when the VectorSource property is Property. The length of the vector specified in the Vector property must equal the length of the specified dimension of A.

Y = step(H,A,V) returns Y , the result of adding the input array A to the elements of the input vector V along the specified dimension when the VectorSource property is Input port. The length of the input V must equal the length of the specified dimension of A.

    Note:   H specifies the System object™ on which to run this step method.

    The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?