Signal Operations

Scrambling, puncturing, delay management, and bit operations

Communications Toolbox™ allows you to perform bit operations on signals and blocks of data.


bi2deConvert binary vectors to decimal numbers
de2biConvert decimal numbers to binary vectors
hex2polyConvert hexadecimal character vector to binary coefficients
oct2polyConvert octal number to binary coefficients
alignsignalsAlign two signals by delaying earliest signal
finddelayEstimate delay(s) between signals
bin2grayConvert positive integers into corresponding Gray-encoded integers
gray2binConvert Gray-encoded positive integers to corresponding Gray-decoded integers
vec2matConvert vector to matrix


comm.DescramblerDescramble input signal
comm.ScramblerScramble input signal


DeinterlacerDistribute elements of input vector alternately between two output vectors
DerepeatReduce sampling rate by averaging consecutive samples
DescramblerDescramble input signal
Find DelayFind delay between two signals
Insert ZeroDistribute input elements in output vector
InterlacerAlternately select elements from two input vectors to generate output vector
PunctureOutput elements which correspond to 1s in binary Puncture vector
ScramblerScramble input signal
Bit to Integer ConverterMap vector of bits to corresponding vector of integers
Integer to Bit ConverterMap vector of integers to vector of bits


Find Delay for Encoded and Filtered Signal

Determine the delay for a convolutionally encoded and filtered link.


Computing delays in multirate models and in models having multiple delays.

Matrices, Vectors, and Scalars

Simulink® supports matrix signals, one-dimensional arrays, sample-based processing, and frame-based processing.

Floating-Point and Fixed-Point Data Types

The inputs and outputs of the communications blocks support various data types.