c5_threefilters.m
资源名称:speech.rar [点击查看]
上传用户:ay_070428
上传日期:2014-12-04
资源大小:11427k
文件大小:0k
源码类别:
语音合成与识别
开发平台:
Matlab
- T=0.01;
- f=0:0.1:50;
- z=exp(-i*2*pi*f*T);
- a0=0.239057;a1=0.239057;b1=0.521886;%bilinear z-transform
- num=a0+a1*z;
- den=1-b1*z;
- ampx=abs(num./den);
- a0=0.628319;b1=0.533488;%impulse invariant
- num=a0;
- den=1-b1*z;
- ampy=abs(num./den);
- a0=1.0;a1=0.533488;b1=0.533488;%step invariant
- num=(a0-a1)*z;
- den=1-b1*z;
- ampz=abs(num./den);
- plot(f,ampx,f,ampy,f,ampz)
- xlabel('Frequency-Hz')
- ylabel('Amplitude Response')
- %End of script file