Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Block Coding

Linear block codes, BCH, Reed-Solomon, LDPC

Communications System Toolbox™ provides tools for block encoding and decoding of data using either MATLAB® or Simulink®. To learn more about error control coding, see Error Detection and Correction.

System Objects

comm.BCHDecoderDecode data using BCH decoder
comm.BCHEncoderEncode data using BCH encoder
comm.RSDecoderDecode data using Reed-Solomon decoder
comm.RSEncoderEncode data using Reed-Solomon encoder
comm.HDLRSDecoderDecode data using a Reed-Solomon decoder
comm.HDLRSEncoderEncode data using a Reed-Solomon encoder
comm.LDPCDecoderDecode binary low-density parity-check code
comm.gpu.LDPCDecoderDecode binary low-density parity-check data with GPU
comm.LDPCEncoderEncode binary low-density parity-check code

Blocks

Binary Cyclic DecoderDecode systematic cyclic code to recover binary vector data
Binary Cyclic EncoderCreate systematic cyclic code from binary vector data
Binary Linear DecoderDecode linear block code to recover binary vector data
Binary Linear EncoderCreate linear block code from binary vector data
Hamming DecoderDecode Hamming code to recover binary vector data
Hamming EncoderCreate Hamming code from binary vector data
BCH DecoderDecode BCH code to recover binary vector data
BCH EncoderCreate BCH code from binary vector data
Binary-Input RS EncoderCreate Reed-Solomon code from binary vector data
Binary-Output RS DecoderDecode Reed-Solomon code to recover binary vector data
Integer-Input RS EncoderCreate Reed-Solomon code from integer vector data
Integer-Input RS Encoder HDL OptimizedEncode data using a Reed-Solomon encoder
Integer-Output RS DecoderDecode Reed-Solomon code to recover integer vector data
Integer-Output RS Decoder HDL OptimizedDecode data using a Reed-Solomon decoder
LDPC DecoderDecode binary low-density parity-check code specified by parity-check matrix
LDPC EncoderEncode binary low-density parity-check code specified by parity-check matrix

Functions

cyclgenProduce parity-check and generator matrices for cyclic code
cyclpolyProduce generator polynomials for cyclic code
decodeBlock decoder
encodeBlock encoder
gfweightCalculate minimum distance of linear block code
gen2parConvert between parity-check and generator matrices
hammgenProduce parity-check and generator matrices for Hamming code
syndtableProduce syndrome decoding table
bchdecBCH decoder
bchencBCH encoder
bchgenpolyGenerator polynomial of BCH code
bchnumerrNumber of correctable errors for BCH code
rsdecReed-Solomon decoder
rsencReed-Solomon encoder
rsgenpolyGenerator polynomial of Reed-Solomon code
rsgenpolycoeffsGenerator polynomial coefficients of Reed-Solomon code
dvbs2ldpcLow-density parity-check codes from DVB-S.2 standard

Topics

Reed-Solomon Coding Part I – Erasures

This example shows how to configure the RSEncoder and RSDecoder System objects to perform Reed-Solomon (RS) block coding with erasures when simulating a communications system.

Reed-Solomon Coding Part II – Punctures

This example shows how to set up the Reed-Solomon (RS) encoder/decoder to use punctured codes.

Reed-Solomon Coding Part III – Shortening

This example shows how to set up the Reed-Solomon (RS) encoder/decoder to shorten the (63,53) code to a (28,18) code.

DVB-S.2 Link, Including LDPC Coding

This example shows 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.

DVB-S.2 System Simulation Using a GPU-Based LDPC Decoder System Object

This example shows how to use a GPU-based LDPC Decoder System object to increase the speed of a communications system simulation.

Featured Examples

Was this topic helpful?