Examples


Use this example index to jump to code examples in the documentation.

Communications Sinks

Viewing a Sinusoid

Source Coding

Scalar Quantization Example 1
Scalar Quantization Example 2
Determining Which Interval Each Input Is in
Using a µ-Law Compander
Using DPCM Encoding and Decoding

Block Codes

Hamming Code in Binary Format
Reed-Solomon Code in Integer Format

Convolutional Codes

A Rate 2/3 Feedforward Encoder
Soft-Decision Decoding

Interleaving

Convolutional Interleavers

Analog Modulation

Example Using a Modulator.
Example Using Step Size Relative to Carrier Period.
Varying the Filter's Cutoff Frequency
Time Lag from Filtering

Digital Modulation

Delays from Demodulation
DQPSK Signal Constellation Points and Transitions
Rectangular QAM Modulation and Scatter Diagram
Phase Tree for Continuous Phase Modulation
Passband Digital Modulation

Channels

Using Fading Channels