% -*- texinfo -*- % @deftypefn {Function File} {@var{msg} =} qaskdeco (@var{c},@var{m}) % @deftypefnx {Function File} {@var{msg} =} qaskdeco (@var{inphase},@var{quadr},@var{m}) % @deftypefnx {Function File} {@var{msg} =} qaskdeco (@var{...},@var{mnmx}) % % Demaps an analog signal using a square QASK constellation. The input signal % maybe either a complex variable @var{c}, or as two real variables % @var{inphase} and @var{quadr} representing the in-phase and quadrature % components of the signal. % % The argument @var{m} must be a positive integer power of 2. By deafult the % same constellation as created in @dfn{qaskenco} is used by @dfn{qaskdeco}. % If is possible to change the values of the minimum and maximum of the % in-phase and quadrature components of the constellation to account for % linear changes in the signal values in the received signal. The variable % @var{mnmx} is a 2-by-2 matrix of the following form % % @multitable @columnfractions 0.125 0.05 0.25 0.05 0.25 0.05 % @item @tab | @tab min in-phase @tab , @tab max in-phase @tab | % @item @tab | @tab min quadrature @tab , @tab max quadrature @tab | % @end multitable % % If @code{sqrt(@var{m})} is an integer, then @dfn{qaskenco} uses a Gray % mapping. Otherwise, an attempt is made to create a nearly square mapping % with a minimum Hamming distance between adjacent constellation points. % @end deftypefn % @seealso{qaskenco}