Products & Services Solutions Academia Support User Community Company

Learn more about Communications Blockset   

Interlacer - Alternately select elements from two input vectors to generate output vector

Library

Sequence Operations

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 (labeled O for odd) and from the second input (labeled E for even) . 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. The block can accept the data types int8, uint8, int16, uint16, int32, uint32, boolean, single, double, and fixed-point. The data type of this output will be the same as that of the input signals.

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

Deinterlacer

See Also

General Block Interleaver; Mux (Simulink documentation)

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS