📄 swchannel.h
字号:
#ifndef SWCHANNEL_H
#define SWCHANNEL_H
#include <stdlib.h>
#include <math.h>
#include <comp_def.h>
float random_num();
void gen_source(int *data, int length);
complex gngauss(double mean,double sigma);
void AWGN(complex *send,complex *r,double mean,double sigma,int totallength);
void Rayleigh(complex *send,complex *r,double mean,double sigma,int totallength);
void BPSK(int *module_in, complex *module_out,int totallength);
void De_BPSK(complex *demodule_in, double *demodule_out,int length);
void QPSK(int *module_in, complex *module_out,int totallength);
void De_QPSK(complex *demodule_in, double *demodule_out,int length);
void QAM16(int *module_in, complex *module_out,int totallength);
void De_QPSK(complex *demodule_in, double *demodule_out,int length);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -