Home > freetb4matlab > comm > rledeco.m

rledeco

PURPOSE ^

%

SYNOPSIS ^

function rmsg=rledeco(message)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} rledeco (@var{message})
%
% Returns decoded run-length @var{message}. 
% The RLE encoded @var{message} has to be in the form of a 
% row-vector. The message format (encoded RLE) is like  repetition 
% [factor, value]+.
%
% An example use of @code{rledeco} is
% @example
% @group
%          message=[1 5 2 4 3 1];
%          rledeco(message) %gives
%          ans = [    5   4   4   1   1   1]
% @end group
% @end example
% @end deftypefn
% @seealso{rledeco}

CROSS-REFERENCE INFORMATION ^

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