Navigation

Operators and Keywords

Function List:

C++ API

communications

Digital Communications, Error Correcting Codes (Channel Code), Source Code functions, Modulation and Galois Fields

Select category:

Random Signals

awgn
Add white Gaussian noise to a voltage signal.
biterr
Compares two matrices and returns the number of bit errors and the bit error rate.
eyediagram
Plot the eye-diagram of a signal.
randerr
Generate a matrix of random bit errors.
randint
Generate a matrix of random binary numbers.
randsrc
Generate a matrix of random symbols.
scatterplot
Display the scatter plot of a signal.
symerr
Compares two matrices and returns the number of symbol errors and the symbol error rate.
wgn
Returns a M-by-N matrix Y of white Gaussian noise.
bsc
Send DATA into a binary symmetric channel with probability P of error one each symbol.

Source Coding

arithenco
Not implemented.
arithdeco
Not implemented.
compand
Compresses and expanding the dynamic range of a signal using a mu-law or or A-law algorithm.
dpcmdeco
Decode using differential pulse code modulation (DPCM).
dpcmenco
Encode using differential pulse code modulation (DPCM).
dpcmopt
Optimize the DPCM parameters and codebook.
huffmandeco
Decode signal encoded by 'huffmanenco'.
huffmandict
Builds a Huffman code, given a probability list.
huffmanenco
Returns the Huffman encoded signal using DICT.
lloyds
Optimize the quantization table and codes to reduce distortion.
lz77deco
Lempel-Ziv 77 source algorithm decoding implementation.
lz77enco
Lempel-Ziv 77 source algorithm implementation.
quantiz
Quantization of an arbitrary signal relative to a partitioning.
shannonfanodict
Returns the code dictionary for source using Shannon-Fano algorithm.
shannonfanoenco
Returns the Shannon-Fano encoded signal using DICT.
shannonfanodeco
Returns the original signal that was Shannon-Fano encoded.
rleenco
Returns run-length encoded MESSAGE.
rledeco
Returns decoded run-length MESSAGE.
riceenco
Returns the Rice encoded signal using K or optimal K .
ricedeco
Returns the Rice decoded signal vector using CODE and K.
fiboenco
Returns the cell-array of encoded Fibonacci value from the column vectors NUM.
fibodeco
Returns the decoded Fibonacci value from the binary vectors CODE.
fibosplitstream
Returns the split data stream at the word boundaries.
golombenco
Returns the Golomb coded signal as cell array.
golombdeco
Returns the Golomb decoded signal vector using CODE and M.

Block Interleavers

intrlv
Interleaved elements of DATA according to ELEMENTS.
algintrlv
Not implemented.
helscanintrlv
NROWS-by-NCOLS.
matintrlv
Interleaved elements of DATA with a temporary matrix of size NROWS-by-NCOLS.
randintrlv
Interleaves elements of DATA with a random permutation.
deintrlv
Restore elements of DATA according to ELEMENTS.
matdeintrlv
Restore elements of DATA with a temporary matrix of size NROWS-by-NCOLS.
randdeintrlv
Restore elements of DATA with a random permutation.

Block Coding

bchdeco
Decodes the coded message CODE using a BCH coder.
bchenco
Encodes the message MSG using a [N,K] BCH coding.
bchpoly
Calculates the generator polynomials for a BCH coder.
convenc
Encode the binary vector MSG with the convolutional encoder described by the trellis structure T.
cyclgen
Produce the parity check and generator matrix of a cyclic code.
cyclpoly
This function returns the cyclic generator polynomials of the code [N,K].
decode
Top level block decoder.
encode
Top level block encoder.
egolaydec
Decode Extended Golay code.
egolayenc
Encode with Extended Golay code.
egolaygen
Extended Golay code generator matrix.
gen2par
Converts binary generator matrix GEN to the parity check matrix PAR and visa-versa.
hammgen
Produce the parity check and generator matrices of a Hamming code.
reedmullerdec
Decode the received code word VV using the RM-generator matrix G, of order R, M, returning the code-word C.
reedmullerenc
Definition type construction of Reed-Muller code, of order R, length 2^M.
reedmullergen
Definition type construction of Reed-Muller code, of order R, length 2^M.
rsgenpoly
Creates a generator polynomial for a Reed-Solomon coding with message length of K and codelength of N.
rsdec
Decodes the message contained in CODE using a [N,K] Reed-Solomon code.
rsdecof
Decodes an ASCII file using a Reed-Solomon coder.
rsenc
Encodes the message MSG using a [N,K] Reed-Solomon coding.
rsencof
Encodes an ASCII file using a Reed-Solomon coder.
systematize
Given G, extract P parity check matrix.
syndtable
Create the syndrome decoding table from the parity check matrix H.
vitdec
Not implemented.

Modulations

ademod
Not implemented.
ademodce
Baseband demodulator for analog signals.
amod
Not implemented.
amodce
Baseband modulator for analog signals.
ammod
Create the AM modulation of the signal x with carrier frequency fs.
amdemod
Compute the amplitude demodulation of the signal S with a carrier frequency of FC and a sample frequency of FS.
apkconst
Plots a ASK/PSK signal constellation.
ddemod
Not implemented.
ddemodce
Not implemented.
demodmap
Demapping of an analog signal to a digital signal.
dmod
Not implemented.
dmodce
Not implemented.
fmmod
Create the FM modulation of the signal x with carrier frequency fs.
fmdemod
Create the FM demodulation of the signal x with carrier frequency fs.
genqammod
Modulates an information sequence of integers X in the range '[0 ...
genqamdemod
General quadrature amplitude demodulation.
modmap
Mapping of a digital signal to an analog signal.
pamdemod
Demodulates a pulse amplitude modulated signal X into an information sequence of integers in the range '[0 ...
pammod
Modulates an information sequence of integers X in the range '[0 ...
pskdemod
Demodulates a complex-baseband phase shift keying modulated signal into an information sequence of integers in the range '[0 ...
pskmod
Modulates an information sequence of integers X in the range '[0 ...
qaskdeco
Demaps an analog signal using a square QASK constellation.
qaskenco
Map a digital signal using a square QASK constellation.
qammod
Create the QAM modulation of x with a size of alphabet m.
qamdemod
Create the QAM demodulation of x with a size of alphabet m.

Special Filters

hank2sys
Not implemented.
hilbiir
Not implemented.
rcosflt
Not implemented.
rcosiir
Not implemented.
rcosine
Not implemented.
rcosfir
Not implemented.

Galois Fields of Even Characteristic

all
For a vector argument, return true (logical 1) if all elements of the vector are non-zero.
any
For a vector argument, return true (logical 1) if any element of the vector is non-zero.
cosets
Finds the elements of GF(2^M) with primitive polynomial PRIM, that share the same minimum polynomial.
conv
Convolve two vectors A and B.
convmtx
If A is a column vector and X is a column vector of length N, then
deconv
Deconvolve two vectors.
det
Compute the determinant of A.
dftmtx
Compute the N-by-N Fourier transformation matrix.
diag
Return a diagonal matrix with vector V on diagonal K.
exp
Compute 'e^x' for each element of X.
gf
Creates a Galois field array GF(2^M) from the matrix X.
fft
Compute the discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm.
filter
Return the solution to the following linear, time-invariant difference equation:
gftable
This function exists for compatibility with matlab.
gfweight
Calculate the minimum weight or distance of a linear block code.
ifft
Compute the inverse discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm.
inv
Compute the inverse of the square matrix A.
inverse
Compute the inverse of the square matrix A.
isequal
Return true if all of X1, X2, ...
log
Compute the natural logarithm, 'ln (X)', for each element of X.
lu
Compute the LU decomposition of A.
prod
Product of elements along dimension DIM.
sqrt
Compute the square root of each element of X.
rank
Compute the rank of matrix A, using the singular value decomposition.
reshape
Return a matrix with the specified dimensions (M, N, ...) whose elements are taken from the matrix A.
roots
For a vector V with N components, return the roots of the polynomial
sum
Sum of elements along dimension DIM.
sumsq
Sum of squares of elements along dimension DIM.
isempty
Return true if A is an empty matrix (any one of its dimensions is zero).
isgalois
Return 1 if the value of the expression EXPR is a Galois Field.
isprimitive
Returns 1 is the polynomial represented by A is a primitive polynomial of GF(2).
length
Return the length of the object A.
minpol
Finds the minimum polynomial for elements of a Galois Field.
polyval
Evaluate the polynomial P at the specified values of X.
primpoly
Finds the primitive polynomials in GF(2^M).
size
Return the number of rows and columns of A.

Galois Fields of Odd Characteristic

gfadd
Not implemented.
gfconv
Not implemented.
gfcosets
Not implemented.
gfdeconv
Not implemented.
gfdiv
Not implemented.
gffilter
Not implemented.
gflineq
Not implemented.
gfminpol
Not implemented.
gfmul
Not implemented.
gfpretty
Not implemented.
gfprimck
Not implemented.
gfprimdf
Not implemented.
gfprimfd
Not implemented.
gfrank
Not implemented.
gfrepcov
Not implemented.
gfroots
Not implemented.
gfsub
Not implemented.
gftrunc
Not implemented.
gftuple
Not implemented.

Utility Functions

comms
Manual and test code for the Octave Communications toolbox.
bi2de
Convert bit matrix to a vector of integers
de2bi
Convert a non-negative integer to bit vector.
oct2dec
Convert octal to decimal values.
istrellis
Return true if T is a valid trellis structure.
poly2trellis
Convert convolutional code generator polynomials into trellis form.
vec2mat
Converts the vector V into a C column matrix with row priority arrangement and with the final column padded with the value D to the correct length.
qfunc
Compute the Q function.
qfuncinv
Compute the inverse Q function.

Package: communications