MATLAB Examples

Multiple-Input-Multiple-Output (MIMO) systems, which use multiple antennas at the transmitter and receiver ends of a wireless communication system. MIMO systems are increasingly

The example performs Huffman encoding and decoding using a source whose alphabet has three symbols. Notice that the huffmanenco and huffmandeco functions use the dictionary created by

A digital communications system using QPSK modulation. In particular, this example illustrates methods to address real-world wireless communications issues like carrier frequency and

The basic structure of turbo codes, both at the transmitter and receiver ends, and characterizes their performance over a noisy channel using components from the Communications Toolbox™.

A method for digital communication with OFDM synchronization based upon the IEEE 802.11a standard. System objects from the Communications Toolbox are utilized to provide OFDM modulation

This model shows how to simulate a phase-locked loop (PLL) frequency synthesizer. The model multiplies the frequency (synFr) of a reference signal by a constant synN/synM, to produce a

Compare, using eye diagrams, Gaussian minimum shift keying (GMSK) and minimum shift keying (MSK) modulation schemes.

This model shows a satellite link, using the blocks from the Communications Toolbox™ to simulate the following impairments:

The BER performance of several types of equalizers in a static channel with a null in the passband. The example constructs and implements a linear equalizer object and a decision feedback

This model shows symbol timing adjustments using interpolation and numerically controlled oscillator (NCO) based control as part of clock recovery in a digital modem as described in the

This model shows the implementation of a QPSK transmitter and receiver. The receiver addresses practical issues in wireless communications, e.g. carrier frequency and phase offset,

This model shows the state-of-the-art channel coding scheme used in the second generation Digital Video Broadcasting standard (DVB-S.2), planned to be deployed by DIRECTV in the United

Use cyclostationary feature detection to distinguish signals with different modulation schemes, including P25 signals [ 1]. It defines four cases of signals: noise only, C4FM, CQPSK, and

The application of low density parity check (LDPC) codes in the second generation Digital Video Broadcasting standard (DVB-S.2), which is deployed by DIRECTV in the United States. The

The intersymbol interference (ISI) rejection capability of the raised cosine filter, and how to split the raised cosine filtering between transmitter and receiver, using raised cosine

Use baseband modulators and demodulators with frequency upconversion and downconversion to simulate passband communication systems. In general, it is simpler and faster to model a

Create a Huffman code dictionary using the huffmandict function.

The BER performance improvement for QPSK modulation when using log-likelihood ratio (LLR) instead of hard-decision demodulation in a convolutionally coded communication link. With LLR

This model shows how to use the Convolutional Encoder and Viterbi Decoder blocks to simulate a tail-biting convolutional code. Terminating the trellis of a convolutional code is a key

This model shows the improvement in BER performance when using log-likelihood ratio (LLR) instead of hard decision demodulation in a convolutionally coded communication link.

This model shows how to simulate a phase-locked fractional-N frequency synthesizer. The model multiplies the frequency synFr of a reference signal by a constant synN+synM, to produce a

An orthogonal space-time block code (OSTBC) concatenated with trellis-coded modulation (TCM) for information transmission over a multiple-input multiple-output (MIMO) channel with 2

Construct an orthogonal frequency division modulation (OFDM) modulator/demodulator pair and to specify their pilot indices. The OFDM modulator System object enables you to specify

Encode and decode a sequence from a source having three symbols.

This model shows the use of a CORDIC (COordinate Rotation DIgital Computer) rotation algorithm in a digital PLL (Phase Locked Loop) implementation for QPSK carrier synchronization.

Use a GPU-based LDPC Decoder System object to increase the speed of a communications system simulation. This example illustrates the performance increase by modeling part of the ETSI

This model shows part of the asymmetric digital subscriber line (ADSL) technology for transmitting data and multimedia information over telephone lines. It illustrates a downstream path

This model shows a straightforward way to perform passband modulation, by multiplying a modulated complex signal with a complex sine wave to perform frequency upconversion. In general, it

Improve the execution speed of communication systems involving BER simulations. To improve the performance of these systems, one of the available options is to parallelize the

This model shows an orthogonal space-time block code (OSTBC) concatenated with trellis-coded modulation (TCM) for information transmission over a multiple-input multiple-output

This model shows a communications system compliant with the U. S. MIL-STD-188-110A military standard. In particular, the model implements a full receiver that demodulates and outputs a

Employ raised cosine filtering to reduce inter-symbol interference (ISI) that results from a nonlinear amplifier.

Perform a symbol error rate (SER) simulation of an over-the-air OFDM communication link.

Attempt to correct for a frequency offset using the carrier synchronizer object. Increase the damping factor of the synchronizer and determine if the offset was corrected.

Determine the delay for a convolutionally encoded and filtered link. Use the delay to accurately determine the number of bit errors.

Generates a bit error rate versus Eb/No curve for a link that uses 16-QAM modulation and a rate 2/3 convolutional code in AWGN.

Open the 8-PSK model. The model generates an 8-PSK signal, applies white noise, displays the resulting constellation diagram, and computes the error statistics.

Open the Binary-to-Gray model. The model converts a binary sequence to a Gray-coded sequence and vice versa by using Data Mapper blocks.

Compares Filter Bank Multi-Carrier (FBMC) with Orthogonal Frequency Division Multiplexing (OFDM) and highlights the merits of the candidate modulation scheme for Fifth Generation (5G)

Compares Universal Filtered Multi-Carrier (UFMC) with Orthogonal Frequency Division Multiplexing (OFDM) and highlights the merits of the candidate modulation scheme for Fifth

Transmit an LDPC-encoded, QPSK-modulated bit stream through an AWGN channel. Then demodulate, decode, and count errors.

Use the convolutional encoder and Viterbi decoder System objects to simulate a punctured coding system. The complexity of a Viterbi decoder increases rapidly with the code rate.

Filter a 16-QAM signal using a pair of square root raised cosine matched filters. Plot the eye diagram and scatter plot of the signal. After passing the signal through an AWGN channel,

Equalize a BPSK signal using a linear equalizer with an least mean square (LMS) algorithm.

Quantize an exponential signal with and without companding and compare the mean square distortions.

Simulate an end-to-end communication link employing 16-QAM using turbo codes in an AWGN channel. Estimate the bit error rate.

Use an OFDM modulator and demodulator in a simple, 2x2 MIMO error rate simulation. The OFDM parameters are based on the 802.11n standard.

Equalize a QAM signal passed through a frequency-selective fading channel using RLS and LMS algorithms. Compare the performance of the two algorithms.

Transmit and receive standard and shortened RS-encoded, 64-QAM-modulated data through an AWGN channel. Compare the performance of the standard and shortened codes.

Transmit Reed-Solomon encoded data using 8-PSK over an AWGN channel. Demodulate and decode the received signal and collect error statistics. Plot the bit error rate estimate.

The OQPSK Modulator Baseband block configured for single-rate processing using integer or bit for the input type.

Use the RF Blockset™ Circuit Envelope library to simulate noise and calculate noise power. Results are compared against theoretical calculations and a Communications Toolbox™ reference

Use the Galois field array function, gf , to implement an ElGamal public key cryptosystem.

The OQPSK Demodulator Baseband block configured for multirate processing using integer or bit for the input type.

Demonstrates creation of an nonstandard trellis structure for a convolutional encoder with uncoded bits and feedback. The encoder cannot be created using poly2trellis because the

This model shows the behavior of least mean square (LMS) and recursive least square (RLS) adaptive equalizers in a communication link with a fading channel. The transmitter and receiver

Create a BPSK modulator and an equalizer object.

The OQPSK Modulator Baseband block configured for multirate processing using integer or bit for the input type.

The OQPSK Demodulator Baseband block configured for single-rate processing using integer or bit for the input type.

Use the RF Blockset™ Circuit Envelope library to simulate the performance of a Low IF architecture with the following RF impairments:

Use the RF Blockset™ Circuit Envelope library to measure the effect of thermal noise on the bit error rate (BER) of a communications system and to verify the result by comparing to a

This model shows the behavior of adaptive equalizer algorithms at a receiver for modulated data transmitted along a channel.

The model serves as a unit test bench for the convolutional code implemented. The model shows how to define and use a trellis that describes a convolutional code. The particular code in this

Compares Orthogonal Frequency Division Multiplexing (OFDM) with Filtered-OFDM (F-OFDM) and highlights the merits of the candidate modulation scheme for Fifth Generation (5G)

The OQPSK Modulator Baseband and OQPSK Demodulator Baseband blocks connected with no channel or impairments distorting the signal between them. They are configured for frame-based

Open the Detect Binary Preamble model. The model creates a 40-bit packet consisting of two 6-bit preamble sequences and two 14-bit random data sequences. Detect the preamble locations by

The slexScramblerDescrambler model illustrates use of a scrambler-descrambler block pair.

Open the model. The model creates a packet by generating a complex preamble and prepending it to a sequence of QPSK symbols. The packet passes through a noisy channel and is input to a Preamble

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Contact your local office