Home > freetb4matlab > comm > egolayenc.m

egolayenc

PURPOSE ^

%

SYNOPSIS ^

function C=egolayenc(M)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {}  egolayenc (@var{M})
% 
% 
% Given @var{M}, encode M using the Extended Golay code.
%
% The message @var{M}, needs to be of size Nx12, for encoding.
% We can encode several messages, into codes at once, if they 
% are stacked in the order suggested.
%
% The generator G used in here is same as obtained from the
% function egolaygen. Extended Golay code (24,12) which can correct
% upto 3 errors.
%
% @example
% @group
% M=(rand(10,12)>0.5);
% C=egolayenc(M)
%
% @end group
% @end example
%
% @end deftypefn
% @seealso{egolaygen,egolaydec}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003