lpcr.m

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

M
15
字号
function [voc,buf]=lpcr(lpcc,buf,sube)

global frames olpc szsubf

lpcd=lpcc(2:olpc+1);                        % Cut off 1 in the coefficient.

voc=buf;

for j=1:szsubf
    voc(j+olpc)=-sum(voc(j:j+olpc-1).*lpcd(olpc:-1:1))+sube(j);
end

voc=voc(olpc+1:szsubf+olpc);
buf=voc(szsubf-olpc+1:szsubf);

⌨️ 快捷键说明

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