Products & Services Solutions Academia Support User Community Company

Learn more about Communications Toolbox   

convmtx - Convolution matrix of Galois field vector

Syntax

A = convmtx(c,n)

Description

A convolution matrix is a matrix, formed from a vector, whose inner product with another vector is the convolution of the two vectors.

A = convmtx(c,n) returns a convolution matrix for the Galois vector c. The output A is a Galois array that represents convolution with c in the sense that conv(c,x) equals

Examples

The code below illustrates the equivalence between using the conv function and multiplying by the output of convmtx.

m = 4;
c = gf([1; 9; 3],m); % Column vector
n = 6;
x = gf(randint(n,1,2^m),m);
ck1 = isequal(conv(c,x), convmtx(c,n)*x) % True
ck2 = isequal(conv(c',x'),x'*convmtx(c',n)) % True

The output is

ck1 =

     1


ck2 =

     1

See Also

conv, Signal Processing Operations in Galois Fields

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS