Communications Blockset | ![]() ![]() |
Alternately select elements from two input vectors to generate output vector
Library
Sequence Operations, in Basic Comm Functions
Description
The Interlacer block accepts two inputs that have the same vector size, complexity, and sample time. It produces one output vector by alternating elements from the first input and from the second input. As a result, the output vector size is twice that of either input. The output vector has the same complexity and sample time of the inputs.
The inputs can be either scalars or frame-based column vectors.
This block can be useful for combining in-phase and quadrature information from separate vectors into a single vector.
Dialog Box
Examples
If the two input vectors are frame-based with values [1; 2; 3; 4]
and [5; 6; 7; 8]
, then the output vector is [1; 5; 2; 6; 3; 7; 4; 8]
.
Pair Block
See Also
General Block Interleaver; Mux (Simulink)
![]() | Integrate and Dump | I/Q Imbalance | ![]() |