RENEWLab
1.1.0
RENEW project
|
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))) | |
|
virtual |
function Inc Distributed under the WARP License http |
function Inc Distributed under the WARP License Rice University RENEW OPEN SOURCE LICENSE |
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))) |
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))) |
modvec_16qam = (1/sqrt(10)) .* [-3 -1 +3 +1] |
modvec_64qam = (1/sqrt(42)) .* [-7 -5 -1 -3 +7 +5 +1 +3] |
case QPSK tx_syms |