RENEWLab  1.1.0
RENEW project
mod_sym.m File Reference

Functions

mod_fcn_16qam, data arrayfun ()
 
otherwise error ('Invalid MOD_ORDER(%d)! Must be in[2, 4, 16, 64]\n', MOD_ORDER)
 

Variables

function tx_syms
 
function Inc Distributed under the WARP License http
 
function Inc Distributed under the WARP License Rice University RENEW OPEN SOURCE LICENSE
 
 modvec_16qam = (1/sqrt(10)) .* [-3 -1 +3 +1]
 
 modvec_64qam = (1/sqrt(42)) .* [-7 -5 -1 -3 +7 +5 +1 +3]
 
 mod_fcn_bpsk = @(x) complex(modvec_bpsk(1+x),0)
 
 mod_fcn_qpsk = @(x) complex(modvec_bpsk(1+bitshift(x, -1)), modvec_bpsk(1+mod(x, 2)))
 
 mod_fcn_16qam = @(x) complex(modvec_16qam(1+bitshift(x, -2)), modvec_16qam(1+mod(x,4)))
 
 mod_fcn_64qam = @(x) complex(modvec_64qam(1+bitshift(x, -3)), modvec_64qam(1+mod(x,8)))
 

Function Documentation

◆ arrayfun()

mod_fcn_16qam, data arrayfun ( )
virtual

◆ error()

otherwise error ( 'Invalid MOD_ORDER(%d)! Must be in\n'  [2, 4, 16, 64],
MOD_ORDER   
)

Variable Documentation

◆ http

function Inc Distributed under the WARP License http

◆ LICENSE

function Inc Distributed under the WARP License Rice University RENEW OPEN SOURCE LICENSE

◆ mod_fcn_16qam

mod_fcn_16qam = @(x) complex(modvec_16qam(1+bitshift(x, -2)), modvec_16qam(1+mod(x,4)))

◆ mod_fcn_64qam

mod_fcn_64qam = @(x) complex(modvec_64qam(1+bitshift(x, -3)), modvec_64qam(1+mod(x,8)))

◆ mod_fcn_bpsk

mod_fcn_bpsk = @(x) complex(modvec_bpsk(1+x),0)

◆ mod_fcn_qpsk

mod_fcn_qpsk = @(x) complex(modvec_bpsk(1+bitshift(x, -1)), modvec_bpsk(1+mod(x, 2)))

◆ modvec_16qam

modvec_16qam = (1/sqrt(10)) .* [-3 -1 +3 +1]

◆ modvec_64qam

modvec_64qam = (1/sqrt(42)) .* [-7 -5 -1 -3 +7 +5 +1 +3]

◆ tx_syms

case QPSK tx_syms
Initial value:
= mod_sym(data, MOD_ORDER)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Author(s): C. Nicolas Barati nicobarati@rice.edu
% Rahman Doost-Mohamamdy: doost@rice.edu
%
%---------------------------------------------------------------------
% Original code copyright Mango Communications
data
data
Definition: bits2syms.m:26
Author
Author(s)[version, executable, isloaded]
Definition: ofdm_mimo.m:17
MOD_ORDER
if MOD_ORDER
Definition: bits2syms.m:62