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

📄 bandpass.m

📁 语音信号子带编码源程序
💻 M
字号:
function  [y1,y2]=bandpass(x)
%《语音信号子带编码》
% 正交镜像滤波器组实现低通和高通滤波;
% y1,y1分别代表低通和高通的滤波结果.
a1=[1 1];b1=[1];
a2=[1 -1];b2=[1];
w1=0.707*filter(a1,b1,x);
w2=0.707*filter(a2,b2,x);
y1=downsample(w1,2);
y2=downsample(w2,2);
% figure,
% subplot(4,1,1),plot(w1);
% subplot(4,1,2),plot(w2);
% subplot(4,1,3),plot(y1);
% subplot(4,1,4),plot(y2);

⌨️ 快捷键说明

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