Home > freetb4matlab > comm > reedmullerenc.m

reedmullerenc

PURPOSE ^

%

SYNOPSIS ^

function [C,G]=reedmullerenc(MSG,R,M)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {}  reedmullerenc (@var{MSG},@var{R},@var{M})
%
% Definition type construction of Reed Muller code,
% of order @var{R}, length @math{2^M}. This function
% returns the generator matrix for the said order RM code.
% 
% Encodes the given message word/block, of column size k, 
% corresponding to the RM(@var{R},@var{M}), and outputs a
% code matrix @var{C}, on each row with corresponding codeword.
% The second return value is the @var{G}, which is generator matrix
% used for this code.
%
% @example
% @group
% MSG=[rand(10,11)>0.5];
% [C,G]=reedmullerenc(MSG,2,4);
%
% @end group
% @end example
% 
% @end deftypefn
% @seealso{reedmullerdec,reedmullergen}

CROSS-REFERENCE INFORMATION ^

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