Home > freetb4matlab > comm > gconvmtx.m

gconvmtx

PURPOSE ^

%

SYNOPSIS ^

function b = gconvmtx (a, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} gconvmtx (@var{a}, @var{n})
%
% Create matrix to perform repeated convolutions with the same vector
% in a Galois Field. If @var{a} is a column vector and @var{x} is  a 
% column vector of length @var{n}, in a Galois Field then 
%
% @code{gconvmtx(@var{a}, @var{n}) * @var{x}}
%
% gives the convolution of of @var{a} and @var{x} and is the
% same as @code{gconv(@var{a}, @var{x})}. The difference is if
% many vectors are to be convolved with the same vector, then
% this technique is possibly faster.
%
% Similarly, if @var{a} is a row vector and @var{x} is a row 
% vector of length @var{n}, then
%
% @code{@var{x} * gconvmtx(@var{a}, @var{n})}
%
% is the same as @code{gconv(@var{x}, @var{a})}.
% @end deftypefn
% @seealso{gconv,convmtx,conv}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003