Communications Blockset | ![]() ![]() |
Output the elements which correspond to 1s in the binary Puncture vector
Library
Sequence Operations, in Basic Comm Functions
Description
The Puncture block creates an output vector by removing selected elements of the input vector and preserving others. The input can be a real or complex vector of length K. The block determines which elements to remove or preserve by using the binary Puncture vector parameter:
Here, k is between 1 and K. The preserved elements appear in the output vector in the same order in which they appear in the input vector.
Frame-Based Processing
If the input is frame-based, then both it and the Puncture vector parameter must be column vectors. The length of the Puncture vector parameter must divide K. The block repeats the puncturing pattern, if necessary, to cover all input elements. That is, in the bulleted items above you can replace Puncture vector(k) by Puncture vector(n), where
and mod is the modulus function (mod
in MATLAB).
Dialog Box
Examples
If the Puncture vector parameter is the six-element vector [1;0;1;1;1;0]
, then the block:
The diagram below depicts the block's operation on an input vector of [1:6]
, using this Puncture vector parameter.
See Also
![]() | Poisson Integer Generator | QPSK Demodulator Baseband | ![]() |