combine.m

来自「wav声音文件的通过多脉冲激励编码器」· M 代码 · 共 14 行

M
14
字号
 function [splast,spwoutpre,spwout]=combine(sp,win_length,frmsize,i,splast,spwoutpre)
     spwout=zeros(1,win_length);
     if  i==1
         spwinpre=sp(1:win_length);
         spwoutpre=sp(win_length+1:frmsize);
         splast=spwinpre;
     else 
         spwin=sp(1:win_length);
         spwout=sp(win_length+1:frmsize);
         spcombine=spwoutpre+spwin;
         splast=[splast,spcombine];
         spwinpre=spwin;
         spwoutpre=spwout;
     end

⌨️ 快捷键说明

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