RENEWLab  1.1.0
RENEW project
demod_sym.m File Reference

Functions

 switch (MOD_ORDER) case 2 % BPSK data
 
demod_fcn_16qam, syms arrayfun ()
 

Variables

function data
 
function Inc Distributed under the WARP License http
 
function Inc Distributed under the WARP License Rice University RENEW OPEN SOURCE LICENSE
 
 demod_fcn_qpsk = @(x) double(2*(real(x)>0) + 1*(imag(x)>0))
 
 demod_fcn_16qam = @(x) (8*(real(x)>0)) + (4*(abs(real(x))<0.6325)) + (2*(imag(x)>0)) + (1*(abs(imag(x))<0.6325))
 
 demod_fcn_64qam
 

Function Documentation

◆ arrayfun()

demod_fcn_16qam, syms arrayfun ( )
virtual

◆ switch()

switch ( MOD_ORDER  )

Variable Documentation

◆ data

case QPSK data
Initial value:
= demod_sym(syms, MOD_ORDER)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Author(s): C. Nicolas Barati nicobarati@rice.edu
% Rahman Doost-Mohamamdy: doost@rice.edu
%
%---------------------------------------------------------------------
% Original code copyright Mango Communications

◆ demod_fcn_16qam

demod_fcn_16qam = @(x) (8*(real(x)>0)) + (4*(abs(real(x))<0.6325)) + (2*(imag(x)>0)) + (1*(abs(imag(x))<0.6325))

◆ demod_fcn_64qam

demod_fcn_64qam
Initial value:
= @(x) (32*(real(x)>0)) + (16*(abs(real(x))<0.6172))...
+ (8*((abs(real(x))<(0.9258))&&((abs(real(x))>(0.3086)))))...
+ (4*(imag(x)>0)) + (2*(abs(imag(x))<0.6172))...
+ (1*((abs(imag(x))<(0.9258))&&((abs(imag(x))>(0.3086)))))

◆ demod_fcn_qpsk

demod_fcn_qpsk = @(x) double(2*(real(x)>0) + 1*(imag(x)>0))

◆ http

function Inc Distributed under the WARP License http

◆ LICENSE

function Inc Distributed under the WARP License Rice University RENEW OPEN SOURCE LICENSE
real
data real()
Author
Author(s)[version, executable, isloaded]
Definition: ofdm_mimo.m:17
MOD_ORDER
if MOD_ORDER
Definition: bits2syms.m:62
x
sample frequency in MHz x
Definition: getRxVec.m:86
syms
Map the data values on to complex symbols switch MOD_ORDER case BPSK syms
Definition: bits2syms.m:42