waterfill.h
来自「ofdm project for Tms320C6000,完整」· C头文件 代码 · 共 19 行
H
19 行
/* function which computes the bit allocation from the channel estimation.
The function uses the so called waterfilling algorithm.*/
// inputs: Hreal, Himag, Noise_var
// outputs: bn, en, btot
// function which sort the values gn and return the index
void sort(float *gn, int *Index);
//bit allocation function
void waterfill(float *Hreal, float *Himag, float Noise_var, int *bn, float *en); //, int *btot);
void waterfill_simple(float *h_hat, float Noise_var, short *bn, float *en, float *gn);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?