1 function [ alpha ] = calc_relative_payload( code )
\r
2 %CALC_CODE_RATE calculates relative payload (1-rate) of a given code.
\r
4 % Tomas Filler (tomas.filler@binghamton.edu)
\r
5 % http://dde.binghamton.edu/filler
\r
7 alpha = sum(code.shift)/code.n;
\r