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

📄 lvqdecode.m

📁 QMF滤波器在语音编码中的应用,通过matlab 实验程序设计和实现二通道镜像滤波器(QMF、CQF、OQF)在语音编码中的应用
💻 M
字号:


function y=lvqdecode(x,v)

xorig=x;
x=double(x);
nx=size(x,1);
ny=size(x,2);
s=sqrt(size(v,2));
c=size(v,1);

%y=cell(size(x,1),1);

%y(i,:)=v(index(i),:);
%if(s==4)
%y{i}=[v(index(i),1:s:s*s);v(index(i),2:s:s*s);v(index(i),3:s:s*s);v(index(i),4:s:s*s)];
%elseif(s==2)
 %   y{i}=[v(index(i),1:s:s*s);v(index(i),2:s:s*s)];
 %end

%clear temp;
%end

t=v(x(:),:)';
%--------change structure of the y---------------------------
%y1=reshape(temp,nx*s,ny*s);

y=col2im(t,[s s],[nx*s ny*s],'distinct');

   
   %------------------------------------------------------------

⌨️ 快捷键说明

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