?? bandpass.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 + -