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

📄 memory_update.m

📁 这是一段G.729A的编码和解码仿真程序
💻 M
字号:
function exc=Memory_update(gp_qua,gc_qua,vn,cn,xn,yn,zn)

%   /*------------------------------------------------------*
%    * - Find the total excitation                          *
%    * - update filters memories for finding the target     *
%    *   vector in the next subframe                        *
%    *------------------------------------------------------*/

%gp_qua,gc_qua,vn,cn----quantinized gp ,quantinized gc
%exc---total excitation

global Filterstate;

exc=zeros(1,40);
ewn=zeros(1,40);
exc=(gp_qua*vn+gc_qua*cn);
ewn=xn-gp_qua*yn-gc_qua*zn;
Filterstate=round(ewn(31:end));

⌨️ 快捷键说明

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