Communications Toolbox    

Functions by Category

Table 3-1: Signal Sources 
Function
Purpose
randerr
Generate bit error patterns
randint
Generate matrix of uniformly distributed random integers
randsrc
Generate random matrix using prescribed alphabet
wgn
Generate white Gaussian noise

Table 3-2: Signal Analysis Functions 
Function
Purpose
biterr
Compute number of bit errors and bit error rate
eyediagram
Generate an eye diagram
scatterplot
Generate a scatter plot
symerr
Compute number of symbol errors and symbol error rate

Table 3-3: Source Coding 
Function
Purpose
compand
Source code mu-law or A-law compressor or expander
dpcmdeco
Decode using differential pulse code modulation
dpcmenco
Encode using differential pulse code modulation
dpcmopt
Optimize differential pulse code modulation parameters
lloyds
Optimize quantization parameters using the Lloyd algorithm
quantiz
Produce a quantization index and a quantized output value

Table 3-4: Error-Control Coding 
Function
Purpose
bchpoly
Produce parameters or generator polynomial for binary BCH code
convenc
Convolutionally encode binary data
cyclgen
Produce parity-check and generator matrices for cyclic code
cyclpoly
Produce generator polynomials for a cyclic code
decode

Block decoder

encode
Block encoder
gen2par
Convert between parity-check and generator matrices
gfweight
Calculate the minimum distance of a linear block code
hammgen

Produce parity-check and generator matrices for Hamming code

rsdecof
Decode an ASCII file that was encoded using Reed-Solomon code
rsencof
Encode an ASCII file using Reed-Solomon code
rspoly
Produce Reed-Solomon code generator polynomial
syndtable
Produce syndrome decoding table
vitdec
Convolutionally decode binary data using the Viterbi algorithm

Table 3-5: Lower-Level Functions for Error-Control Coding 
Function
Purpose
bchdeco

BCH decoder

bchenco
BCH encoder
rsdeco
Reed-Solomon decoder
rsdecode
Reed-Solomon decoding using the exponential format
rsenco
Reed-Solomon encoder
rsencode
Reed-Solomon encoding using the exponential format

Table 3-6: Modulation and Demodulation 
Function
Purpose
ademod
Analog passband demodulator
ademodce
Analog baseband demodulator
amod
Analog passband modulator
amodce
Analog baseband modulator
apkconst
Plot a combined circular ASK-PSK signal constellation
ddemod
Digital passband demodulator
ddemodce
Digital baseband demodulator
demodmap
Demap a digital message from a demodulated signal
dmod
Digital passband modulator
dmodce
Digital baseband modulator
modmap
Map a digital signal to an analog signal
qaskdeco
Demap a message from a QASK square signal constellation
qaskenco
Map a message to a QASK square signal constellation

Table 3-7: Special Filters 
Function
Purpose
hank2sys
Convert a Hankel matrix to a linear system model
hilbiir
Design a Hilbert transform IIR filter
rcosflt
Filter the input signal using a raised cosine filter
rcosine
Design a raised cosine filter

Table 3-8: Lower-Level Functions for Special Filters 
Function
Purpose
rcosfir
Design a raised cosine FIR filter
rcosiir
Design a raised cosine IIR filter

Table 3-9: Channel Functions 
Function
Purpose
awgn
Add white Gaussian noise to a signal

Table 3-10: Galois Field Computation 
Function
Purpose
gfadd
Add polynomials over a Galois field
gfconv
Multiply polynomials over a Galois field
gfcosets
Produce cyclotomic cosets for a Galois field
gfdeconv
Divide polynomials over a Galois field
gfdiv
Divide elements of a Galois field
gffilter
Filter data using polynomials over a prime Galois field
gflineq
Solve the linear equation Ax = b over a prime Galois field
gfminpol
Find the minimal polynomial of an element of a Galois field
gfmul
Multiply elements of a Galois field
gfplus
Add elements of a Galois field of characteristic two
gfpretty
Display a polynomial in traditional format
gfprimck
Check whether a polynomial over a Galois field is primitive
gfprimdf
Provide default primitive polynomials for a Galois field
gfprimfd
Find primitive polynomials for a Galois field
gfrank
Compute the rank of a matrix over a Galois field
gfrepcov
Convert one GF(2) polynomial representation to another
gfroots
Find the roots of a polynomial over a prime Galois field
gfsub
Subtract polynomials over a Galois field
gftrunc
Minimize the length of a polynomial representation
gftuple
Simplify or convert the format of elements of a Galois field

Table 3-11: Utilities 
Function
Purpose
bi2de
Convert binary vectors to decimal numbers
de2bi
Convert decimal numbers to binary vectors
erf
Error function
erfc
Complementary error function
istrellis
Check if the input is a valid trellis structure
marcumq
Generalized Marcum Q function
oct2dec
Convert octal numbers to decimal numbers
poly2trellis
Convert convolutional code polynomials to trellis description
vec2mat
Convert a vector into a matrix


 Reference Alphabetical List of Functions