Main Content

Puncture Input Vector

This example shows how to use the Puncture block to puncture an input vector by using a modulus 6 puncture pattern with 0s in the second and sixth element locations, [1;0;1;1;1;0].

When you input a vector of integers that is the same length as the specified puncture pattern, the output signal is a column vector that removes the second and sixth values from the input signal.

When you input a vector of integers that is the twice the length of the specified puncture pattern, the output signal is a column vector that removes the input signal values from element locations 2, 6, 8, and 12.