Engee documentation

Array-Vector Divide

Divides array elements into vector elements according to the specified dimension.

blockType: ArrayVectorDivide

Path in the library:

/Signal Operations/Math Functions/Matrices and Linear Algebra/Matrix Operations/Array-Vector Divide

Description

Block Array-Vector Divide divides values -dimensional input array on the values of the input vector in a given dimension.

Input length must be the same as the length of the specified dimension . Block Array-Vector Divide divides each element of __ into the corresponding element .

Consider a three-dimensional input array size on on and the input vector size to 1'. If the Divide along dimension parameter is set to `2, the block output :

Where:

Block output Array-Vector Divide has the same size as the input array . This block supports valid and complex input data.

Ports

Input

A — input array
vector | matrix

Input array; vector or matrix.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64

V — input vector
vector | matrix

The input vector.

Dependencies

This port appears only when you set the Vector (V) source parameter to Input port.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64

Output

Port_1 — output array
vector | matrix

Block output; vector or matrix.

Data types: Float64

Parameters

Divide along dimension — dimension for dividing
1 (by default) | positive number

Specifies the dimension by which the elements of the input array A should be divided into elements of the vector .

Data types: Float64

Vector (V) source — the source of the vector
Input port (by default) | Dialog parameter

Specify the source of vector V.

  • Input port — the vector is taken from the input port.

  • `Dialog parameter' — the vector is taken from the dialog parameter Vector (V).

Vector (V) — vector
[0.5 0.25] (by default) | vector

Sets the vector V.

Dependencies

This parameter is used only when you select the Dialog parameter value for the Vector (V) source parameter.

Data types: Float64