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

📄 waterfill.h

📁 ofdm project for Tms320C6000,完整
💻 H
字号:
/* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -