Distribute elements of input vector alternately between two output vectors
Communications Toolbox / Sequence Operations
The Deinterlacer block accepts an even length column vector input signal. The block alternately places the elements in two output vectors. As a result, each output vector size is half the input vector size. The outputs inherit the sample time from the Sample time parameter of the input block.
In — Input signal
Input signal, specified as an even length column vector.
Complex Number Support: Yes
O — Odd-numbered elements
Odd-numbered elements of the input vector, returned as a vector. If the input is a vector of length N, the output length is N/2.
E — Even-numbered elements
Even-numbered elements of the input vector, returned as a vector. If the input is a vector of length N, the output length is N/2.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced before R2006a
- Demux (Simulink) | Interlacer