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

📄 stbc_protos.h

📁 此文件用于仿真MIMO-STBC 系统性能程序
💻 H
字号:
/*  -------------  DESCRIPTION :: This file consists of all the prototype------ *//*  ----------------------------  declarations of the functional modules ------ */ #ifndef _SUI_PROTOS_H_#define _SUI_PROTOS_H_/*common.c*/double ran1(long *idum);t_COMPLEX Cgaussian(long *idum);double get_max(double *p_array,int size);
double get_min(double *p_array,int size);
void de_to_bi(int num, int *bin, int length);
void vec_to_matrix(int *gen_vector, int gen_matrix_temp[][N_BIT]);
void mtxmtx(int **a, int **b, int **c,int m,int l,int n, int M);
t_COMPLEX complextimes(t_COMPLEX a, t_COMPLEX b);
double complex_dist(t_COMPLEX a);

/*transmitter.c*/
void  generate_binary_info_sequence(int *binary_sequence);
void  unit_memory_STBC_code(int *binary_sequence, t_COMPLEX output_signals[][NUM_TX]);

/*receiver.c*/
void  get_receive_signal_sequence(double es_ovr_n0, t_COMPLEX *path_gain, t_COMPLEX output_signals[][NUM_TX],  t_COMPLEX *receive_signals);
void generate_trellis();
void  viterbi_decode(double es_ovr_n0, t_COMPLEX *path_gain,  t_COMPLEX *receive_signals, int *estimate_binary_sequence);

/*main.c*/int initialize_random_variable();
#endif /* _PROTOS_H_ *//* -------------------- END OF FILE protos.h ------------------------------*/

⌨️ 快捷键说明

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