Decimates an input sequence according to a specific decimating factor and averaging method.
Input sequence.
The number of elements in input array must be greater than or equal to decimating factor.
This input can be an array of double-precision, floating-point numbers or an array of complex double-precision, floating-point numbers.
The factor by which this node decimates the input sequence. decimating factor must be greater than zero. If decimating factor is greater than the number of elements in input array or less than or equal to zero, this node sets decimated array to an empty array and returns an error.
Default: 1
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
Decimated sequence of the input sequence.
If Y represents the output sequence decimated array, this node obtains the elements of the sequence Y using the following equation:
If averaging? is False, ${Y}_{i}={x}_{i*m}$
If averaging? is True, ${Y}_{i}=\frac{1}{m}\underset{k=0}{\overset{m-1}{\sum}}{x}_{i*m+k}$
for i = 0, 1, 2, ..., size - 1,
$\mathrm{size}=\lfloor \frac{n}{m}\rfloor $,
where
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported