📄 lag_wind.c
字号:
/*-------------------------------------------------------------*
* procedure init_lag_wind: *
* ~~~~~~~~~~~~~~ *
* Compute the lag window (for windowing the autocorrelations *
* in LP analysis). *
*-------------------------------------------------------------*/
#include "../include/amr_plus.h"
/*-------------------------------------------------------------*
* procedure lag_wind: *
* ~~~~~~~~~ *
* lag windowing of the autocorrelations *
*-------------------------------------------------------------*/
void lag_wind(
float r[], /* in/out: autocorrelations */
int m /* input : order of LP filter */
)
{
int i;
for (i = 0; i <= m; i++) {
r[i] *= lag_window[i];
}
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -