PSK星座对象(constellation.cc)
来源:互联网 发布:小软件软件著作权申请 编辑:程序博客网 时间:2024/05/04 00:40
BPSK:
constellation_bpsk::constellation_bpsk() { d_constellation.resize(2); d_constellation[0] = gr_complex(-1, 0); d_constellation[1] = gr_complex(1, 0); d_rotational_symmetry = 2; d_dimensionality = 1; calc_arity(); }
QPSK:
constellation_qpsk::constellation_qpsk() { d_constellation.resize(4); // Gray-coded d_constellation[0] = gr_complex(-SQRT_TWO, -SQRT_TWO); d_constellation[1] = gr_complex(SQRT_TWO, -SQRT_TWO); d_constellation[2] = gr_complex(-SQRT_TWO, SQRT_TWO); d_constellation[3] = gr_complex(SQRT_TWO, SQRT_TWO); /* d_constellation[0] = gr_complex(SQRT_TWO, SQRT_TWO); d_constellation[1] = gr_complex(-SQRT_TWO, SQRT_TWO); d_constellation[2] = gr_complex(SQRT_TWO, -SQRT_TWO); d_constellation[3] = gr_complex(SQRT_TWO, -SQRT_TWO); */ d_pre_diff_code.resize(4); d_pre_diff_code[0] = 0x0; d_pre_diff_code[1] = 0x2; d_pre_diff_code[2] = 0x3; d_pre_diff_code[3] = 0x1; d_rotational_symmetry = 4; d_dimensionality = 1; calc_arity(); }DQPSK:
constellation_dqpsk::constellation_dqpsk() { // This constellation is not gray coded, which allows // us to use differential encodings (through diff_encode and // diff_decode) on the symbols. d_constellation.resize(4); d_constellation[0] = gr_complex(+SQRT_TWO, +SQRT_TWO); d_constellation[1] = gr_complex(-SQRT_TWO, +SQRT_TWO); d_constellation[2] = gr_complex(-SQRT_TWO, -SQRT_TWO); d_constellation[3] = gr_complex(+SQRT_TWO, -SQRT_TWO); // Use this mapping to convert to gray code before diff enc. d_pre_diff_code.resize(4); d_pre_diff_code[0] = 0x0; d_pre_diff_code[1] = 0x1; d_pre_diff_code[2] = 0x3; d_pre_diff_code[3] = 0x2; d_apply_pre_diff_code = true; d_rotational_symmetry = 4; d_dimensionality = 1; calc_arity(); }
1 0
- PSK星座对象(constellation.cc)
- 星座类 (UserLib.World.Time.Constellation)
- PSK
- CodeForces 618 C. Constellation(计算几何)
- 星座
- 星座
- 星座
- 星座
- 星座
- 星座
- 星座
- Codeforces--618C--Constellation(数学几何)(技巧)
- Wunder Fund Round 2016 C. Constellation(贪心+计算几何)
- 【CodeForces 618C】Constellation(几何水题)
- Wunder Fund Round 2016 C. Constellation(贪心+计算几何)
- Calculation constellation
- CF618C - Constellation
- Constellation CodeForces
- 给自己的一些提醒
- Google Protocol Buffer 传输数据相对其他格式较短的原理
- VirtualBox中不能正常使用OpneGL的问题
- 浅谈用极大化思想解决最大子矩阵问题
- CSS 垂直居中设置
- PSK星座对象(constellation.cc)
- NSRunloop
- VS按键响应
- K近邻分类算法
- linux习惯每天一个命令之ps
- POJ 2965 The Pilots Brothers: following the stripy elephant
- C语言栈
- android NDK :使用预编译第三方库
- iOS App名称以及内容简繁体适配