⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parameter.h

📁 c语言编写的一个turbo码的程序。采用了高斯信道QPSK调制
💻 H
字号:

//编码参数----帧长、编码的生成多项式、延时长度
 #define fra_long 512
 #define G1 37
 #define G2 21
 #define iterative_num 2
#define fra_num 1
#define dot_num 5


#define pi 3.14159265359


/////////////////////////////////////////////全局变量声明
char channel_input[fra_long];
char *channel_output;
char *regist,*interleave_out,*decode_output;
char restrict_l;
float *output_float,*l_ex,*rec_s,*alpha_a,*beta_b,*gamma,*LLR,*temp_max;
float *interleavefloat_out;
short *next_state,*last_state;
char *next_out,*last_out;
float infty;
short num_state;
float *LL_inter;
double *temp_zero,*temp_one;










































































































⌨️ 快捷键说明

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