demod_tab.h

来自「完整的OFDM系统,含Matlab仿真代码和DSP源代码下载.平台Tms320C」· C头文件 代码 · 共 28 行

H
28
字号
//new_dem_tab.h
//
// Project Red 2002: High Performance OFDM Modem 
// Against Channel Imperfections
// Auther: Linus Falk

//PSK TABLE, (0,1)
//        -> (-X,X)

//4 QAM TABLE, (0,1)
//          -> (-9,9)
const short QAM_4_DEM_TABLE[2] = {0,1};

//16 QAM TABLE, (0 , 1 ,2, 3) 
//           -> (-4,-12,4,12)
const short QAM_16_LIMITS[3]     = {-8,0,8};
const short QAM_16_DEM_TABLE[4]  = {1 ,0,2,3};

//64 QAM TABLE (0  ,1 ,2  ,3 ,4,5,6 , 7) 
//          -> {-14,-2,-10,-6,6,2,10,14}
const short QAM_64_LIMITS[7]     = {-12,-8,-4,0,4,8,12};
const short QAM_64_DEM_TABLE[8]  = {0  ,2 ,3 ,1,5,4,6 ,7};

//256 QAM TABLE (0  ,1 ,2  , 3 ,4 ,5 ,6 ,7 ,8,9,10,11,12,13,14,15) 
//           -> {-11,-9,-13,-15,-5,-7,-3,-1,5,7,3 ,1 ,11,9 ,13,15}
const short QAM_256_LIMITS[15]     = {-14,-12,-10,-8,-6,-4,-2,0,2 ,4 ,6,8,10,12,14};
const short QAM_256_DEM_TABLE[16]  = {3  ,2  ,0  ,1 ,5 ,4 ,6 ,7,11,10,8,9,13,12,14,15};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?