Documentation

Communications System Toolbox Blocks

Communications Modeling

Input and Output

Bernoulli Binary Generator Generate Bernoulli-distributed random binary numbers
Poisson Integer Generator Generate Poisson-distributed random integers
Random Integer Generator Generate integers randomly distributed in range [0, M-1]
Gaussian Noise Generator Generate Gaussian distributed noise with given mean and variance values
Rayleigh Noise Generator Generate Rayleigh distributed noise
Rician Noise Generator Generate Rician distributed noise
Uniform Noise Generator Generate uniformly distributed noise between upper and lower bounds
Barker Code Generator Generate Barker Code
Gold Sequence Generator Generate Gold sequence from set of sequences
Hadamard Code Generator Generate Hadamard code from orthogonal set of codes
Kasami Sequence Generator Generate Kasami sequence from set of Kasami sequences
OVSF Code Generator Generate orthogonal variable spreading factor (OVSF) code from set of orthogonal codes
PN Sequence Generator Generate pseudonoise sequence
Walsh Code Generator Generate Walsh code from orthogonal set of codes

Signal and Delay Management

Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits
Align Signals Align two signals by finding delay between them
Find Delay Find delay between two signals

Display and Visual Analysis

Constellation Diagram Display constellation diagram for input signals
Eye Diagram Display multiple traces of modulated signal
Time Scope Display time-domain signals

System Design

Source Coding

A-Law Compressor Implement A-law compressor for source coding
A-Law Expander Implement A-law expander for source coding
Differential Decoder Decode binary signal using differential coding
Differential Encoder Encode binary signal using differential coding
Mu-Law Compressor Implement µ-law compressor for source coding
Mu-Law Expander Implement µ-law expander for source coding
Quantizing Decoder Decode quantization index according to codebook
Quantizing Encoder Quantize signal using partition and codebook

Error Detection and Correction

Cyclic Redundancy Check Coding

CRC-N Generator Generate CRC bits according to CRC method and append to input data frames
CRC-N Syndrome Detector Detect errors in input data frames according to selected CRC method
General CRC Generator Generate CRC bits according to generator polynomial and append to input data frames
General CRC Generator HDL Optimized Generate CRC code bits and append to input data, optimized for HDL code generation
General CRC Syndrome Detector Detect errors in input data frames according to generator polynomial
General CRC Syndrome Detector HDL Optimized Detect errors in input data using CRC

Block Coding

Linear Block Codes
Binary Linear Decoder Decode linear block code to recover binary vector data
Binary Linear Encoder Create linear block code from binary vector data
Hamming Decoder Decode Hamming code to recover binary vector data
Hamming Encoder Create Hamming code from binary vector data
BCH Codes
BCH Decoder Decode BCH code to recover binary vector data
BCH Encoder Create BCH code from binary vector data
Reed-Solomon Codes
Binary-Input RS Encoder Create Reed-Solomon code from binary vector data
Binary-Output RS Decoder Decode Reed-Solomon code to recover binary vector data
Integer-Input RS Encoder Create Reed-Solomon code from integer vector data
Integer-Input RS Encoder HDL Optimized Encode data using a Reed-Solomon encoder
Integer-Output RS Decoder Decode Reed-Solomon code to recover integer vector data
Integer-Output RS Decoder HDL Optimized Decode data using a Reed-Solomon decoder
LDPC Codes
LDPC Decoder Decode binary low-density parity-check code specified by parity-check matrix
LDPC Encoder Encode binary low-density parity-check code specified by parity-check matrix

Convolutional Coding

APP Decoder Decode convolutional code using a posteriori probability (APP) method
Convolutional Encoder Create convolutional code from binary data
Turbo Decoder Decode input signal using parallel concatenated decoding scheme
Turbo Encoder Encode binary data using parallel concatenated encoding scheme
Viterbi Decoder Decode convolutionally encoded data using Viterbi algorithm

Signal Operations

Deinterlacer Distribute elements of input vector alternately between two output vectors
Derepeat Reduce sampling rate by averaging consecutive samples
Descrambler Descramble input signal
Insert Zero Distribute input elements in output vector
Interlacer Alternately select elements from two input vectors to generate output vector
Puncture Output elements which correspond to 1s in binary Puncture vector
Scrambler Scramble input signal

Interleaving

Algebraic Deinterleaver Restore ordering of input symbols using algebraically derived permutation
Algebraic Interleaver Reorder input symbols using algebraically derived permutation table
General Block Deinterleaver Restore ordering of symbols in input vector
General Block Interleaver Reorder symbols in input vector
Matrix Deinterleaver Permute input symbols by filling matrix by columns and emptying it by rows
Matrix Helical Scan Deinterleaver Restore ordering of input symbols by filling matrix along diagonals
Matrix Helical Scan Interleaver Permute input symbols by selecting matrix elements along diagonals
Matrix Interleaver Permute input symbols by filling matrix by rows and emptying it by columns
Random Deinterleaver Restore ordering of input symbols using random permutation
Random Interleaver Reorder input symbols using random permutation
Convolutional Deinterleaver Restore ordering of symbols that were permuted using shift registers
Convolutional Interleaver Permute input symbols using set of shift registers
General Multiplexed Deinterleaver Restore ordering of symbols using specified-delay shift registers
General Multiplexed Interleaver Permute input symbols using set of shift registers with specified delays
Helical Deinterleaver Restore ordering of symbols permuted by helical interleaver
Helical Interleaver Permute input symbols using helical array

Digital Baseband Modulation

FM Modulation

M-FSK Demodulator Baseband Demodulate FSK-modulated data
M-FSK Modulator Baseband Modulate using M-ary frequency shift keying method
Data Mapper Map integer symbols from one coding scheme to another
Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits

PM Modulation

BPSK Demodulator Baseband Demodulate BPSK-modulated data
BPSK Modulator Baseband Modulate using binary phase shift keying method
DBPSK Demodulator Baseband Demodulate DBPSK-modulated data
DBPSK Modulator Baseband Modulate using differential binary phase shift keying method
DQPSK Demodulator Baseband Demodulate DQPSK-modulated data
DQPSK Modulator Baseband Modulate using differential quaternary phase shift keying method
M-DPSK Demodulator Baseband Demodulate DPSK-modulated data
M-DPSK Modulator Baseband Modulate using M-ary differential phase shift keying method
M-PSK Demodulator Baseband Demodulate PSK-modulated data
M-PSK Modulator Baseband Modulate using M-ary phase shift keying method
OQPSK Demodulator Baseband Demodulate OQPSK-modulated data
OQPSK Modulator Baseband Modulate using offset quadrature phase shift keying method
QPSK Demodulator Baseband Demodulate QPSK-modulated data
QPSK Modulator Baseband Modulate using quaternary phase shift keying method
Data Mapper Map integer symbols from one coding scheme to another
Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits

AM Modulation

General QAM Demodulator Baseband Demodulate QAM-modulated data
General QAM Modulator Baseband Modulate using quadrature amplitude modulation
M-PAM Demodulator Baseband Demodulate PAM-modulated data
M-PAM Modulator Baseband Modulate using M-ary pulse amplitude modulation
Rectangular QAM Demodulator Baseband Demodulate rectangular-QAM-modulated data
Rectangular QAM Modulator Baseband Modulate using rectangular quadrature amplitude modulation
Data Mapper Map integer symbols from one coding scheme to another
Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits

CPM Modulation

CPFSK Demodulator Baseband Demodulate CPFSK-modulated data
CPFSK Modulator Baseband Modulate using continuous phase frequency shift keying method
CPM Demodulator Baseband Demodulate CPM-modulated data
CPM Modulator Baseband Modulate using continuous phase modulation
GMSK Demodulator Baseband Demodulate GMSK-modulated data
GMSK Modulator Baseband Modulate using Gaussian minimum shift keying method
MSK Demodulator Baseband Demodulate MSK-modulated data
MSK Modulator Baseband Modulate using minimum shift keying method
Bipolar to Unipolar Converter Map bipolar signal into unipolar signal in range [0,M-1]
Unipolar to Bipolar Converter Map unipolar signal in range [0,M-1] into bipolar signal
Data Mapper Map integer symbols from one coding scheme to another
Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits

TCM Modulation

General TCM Decoder Decode trellis-coded modulation data, mapped using arbitrary constellation
General TCM Encoder Convolutionally encode binary data and map using arbitrary constellation
M-PSK TCM Decoder Decode trellis-coded modulation data, modulated using PSK method
M-PSK TCM Encoder Convolutionally encode binary data and modulate using PSK method
Rectangular QAM TCM Decoder Decode trellis-coded modulation data, modulated using QAM method
Rectangular QAM TCM Encoder Convolutionally encode binary data and modulate using QAM method
Data Mapper Map integer symbols from one coding scheme to another
Bit to Integer Converter Map vector of bits to corresponding vector of integers
Integer to Bit Converter Map vector of integers to vector of bits

OFDM Modulation

OFDM Demodulator Baseband Demodulate orthogonal frequency division modulated data
OFDM Modulator Baseband Modulate using orthogonal frequency division modulation

Analog Baseband Modulation

FM Broadcast Demodulator Demodulate using broadcast FM method
FM Broadcast Modulator Modulate using broadcast FM method
FM Demodulator Demodulate using FM method
FM Modulator Modulate using FM method

Analog Passband Modulation

DSB AM Demodulator Passband Demodulate DSB-AM-modulated data
DSB AM Modulator Passband Modulate using double-sideband amplitude modulation
DSBSC AM Demodulator Passband Demodulate DSBSC-AM-modulated data
DSBSC AM Modulator Passband Modulate using double-sideband suppressed-carrier amplitude modulation
FM Demodulator Passband Demodulate FM-modulated data
FM Modulator Passband Modulate using frequency modulation
PM Demodulator Passband Demodulate PM-modulated data
PM Modulator Passband Modulate using phase modulation
SSB AM Demodulator Passband Demodulate SSB-AM-modulated data
SSB AM Modulator Passband Modulate using single-sideband amplitude modulation

Filtering

Ideal Rectangular Pulse Filter Shape input signal using ideal rectangular pulses
Integrate and Dump Integrate discrete-time signal, resetting to zero periodically
Raised Cosine Receive Filter Apply pulse shaping by downsampling signal using raised cosine FIR filter
Raised Cosine Transmit Filter Apply pulse shaping by upsampling signal using raised cosine FIR filter
Windowed Integrator Integrate over time window of fixed length

Synchronization and Receiver Design

AGC Adaptively adjust gain for constant signal-level output
Carrier Synchronizer Compensate for carrier frequency offset
Symbol Synchronizer Correct symbol timing clock skew
I/Q Compensator Coefficient to Imbalance Convert compensator coefficient into amplitude and phase imbalance
I/Q Imbalance Compensator Compensate for imbalance between in-phase and quadrature components
I/Q Imbalance to Compensator Coefficient Converts amplitude and phase imbalance into I/Q compensator coefficient
Discrete-Time VCO Implement voltage-controlled oscillator in discrete time
MSK-Type Signal Timing Recovery Recover symbol timing phase using fourth-order nonlinearity method
CPM Phase Recovery Recover carrier phase using 2P-Power method
Baseband PLL Implement baseband phase-locked loop
Charge Pump PLL Implement charge pump phase-locked loop using digital phase detector
Continuous-Time VCO Implement voltage-controlled oscillator
Linearized Baseband PLL Implement linearized version of baseband phase-locked loop
Phase-Locked Loop Implement phase-locked loop to recover phase of input signal

Equalization

CMA Equalizer Equalize using constant modulus algorithm
LMS Decision Feedback Equalizer Equalize using decision feedback equalizer that updates weights with LMS algorithm
LMS Linear Equalizer Equalize using linear equalizer that meditorsupdates weights with LMS algorithm
MLSE Equalizer Equalize using Viterbi algorithm
Normalized LMS Decision Feedback Equalizer Equalize using decision feedback equalizer that updates weights with normalized LMS algorithm
Normalized LMS Linear Equalizer Equalize using linear equalizer that updates weights with normalized LMS algorithm
RLS Decision Feedback Equalizer Equalize using decision feedback equalizer that updates weights with RLS algorithm
RLS Linear Equalizer Equalize using linear equalizer that updates weights using RLS algorithm
Sign LMS Decision Feedback Equalizer Equalize using decision feedback equalizer that updates weights with signed LMS algorithm
Sign LMS Linear Equalizer Equalize using linear equalizer that updates weights with signed LMS algorithm
Variable Step LMS Decision Feedback Equalizer Equalize using decision feedback equalizer that updates weights with variable-step-size LMS algorithm
Variable Step LMS Linear Equalizer Equalize using linear equalizer that updates weights with variable-step-size LMS algorithm

Multiple-Input Multiple-Output (MIMO)

MIMO Channel Filter input signal through MIMO multipath fading channel
OSTBC Combiner Combine inputs for received signals and channel estimate according to orthogonal space-time block code (OSTBC)
OSTBC Encoder Encode input message using orthogonal space-time block code (OSTBC)
Sphere Decoder Decode input using a sphere decoder

Channel Modeling and RF Impairments

AWGN Channel Add white Gaussian noise to input signal
Binary Symmetric Channel Introduce binary errors
Multipath Rayleigh Fading Channel Simulate multipath Rayleigh fading propagation channel
Multipath Rician Fading Channel Simulate multipath Rician fading propagation channel
Free Space Path Loss Reduce amplitude of input signal by amount specified
I/Q Imbalance Create complex baseband model of signal impairments caused by imbalances between in-phase and quadrature receiver components
MIMO Channel Filter input signal through MIMO multipath fading channel
Memoryless Nonlinearity Apply memoryless nonlinearity to complex baseband signal
Phase Noise Apply receiver phase noise to complex baseband signal
Phase/Frequency Offset Apply phase and frequency offsets to complex baseband signal
Receiver Thermal Noise Apply receiver thermal noise to complex baseband signal
Complex Phase Difference Output phase difference between two complex input signals
Complex Phase Shift Shift phase of complex input signal by second input value

Measurements and Analysis

Error Rate Calculation Compute bit error rate or symbol error rate of input data
EVM Measurement Calculate vector magnitude difference between ideal reference signal and measured signal
MER Measurement Measure signal-to-noise ratio (SNR) in digital modulation applications
Was this topic helpful?