impulse.m

来自「the implement of the encoder and the dec」· M 代码 · 共 13 行

M
13
字号
function impulse( l, lpc_coef )

global h olpc gamma1

% Init unit impulse vector and local variables
h = zeros( 1, l );
h(1) = 1.0;
d5 = zeros( 1, olpc );

% Weight LPC coefficients and generate impulse response
wlpc_coef = wcoff( gamma1, lpc_coef );
[ h, d5 ] = lpcr( wlpc_coef, d5, h );

⌨️ 快捷键说明

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