matlab滤波器与均衡器设计方案 .docx
《matlab滤波器与均衡器设计方案 .docx》由会员分享,可在线阅读,更多相关《matlab滤波器与均衡器设计方案 .docx(19页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精品名师归纳总结封面可编辑资料 - - - 欢迎下载精品名师归纳总结作者: PanHongliang仅供个人学习可编辑资料 - - - 欢迎下载精品名师归纳总结Digital signal andanalysisTitle:A filter and equilizerName:YangxiaoClass:Master of mechanical engineering 1302StudentID:M202170503可编辑资料 - - - 欢迎下载精品名师归纳总结Abstrac:tDesigning somekinds offiltersbyusingmatlab.We can underst
2、and thesignal processing offiltermorecomprehensive by analyzingthefilteringpropertiesofdifferentfilters.Designing anadjustable parameter of digital filter which is called equalizer.In this paper, the digital equalizer which is based on MATLAB platform designing has the functions ofaccessing Wav file
3、 , filtering and playing.可编辑资料 - - - 欢迎下载精品名师归纳总结Keyword:Matlab,Filter,Equalizer1.PrefaceMATLAB is called Matrix Laborator,ywhich is designed by the可编辑资料 - - - 欢迎下载精品名师归纳总结United States MathWorks company.Its a commercial mathematical software. Matlab can be use for Matrix operations, mapping functio
4、nsand data, algorithm, creating the user interface, connect to other programming languages procedures, mainly used in engineering calculations, control design, signal processing and communications, image processing, signal detection, design and financial modeling analysis and other fields. GUI Graph
5、ical User Interface, referred to as GUI, known Graphical User Interface is displayed using the graphical user interface of computer operations. Matlab has a powerful GUl tool. In this report, by using matlab GUI tool we could design a signal filter and equalizer.The filter Can be divided into low-pa
6、ss, high-pass filter, band pass andband-stop filter.Low-pass filter: it allows signal in low frequency or dc可编辑资料 - - - 欢迎下载精品名师归纳总结component through, suppress the high frequency component or the interference and noise.High-pass filter: it allows the signal in high frequency , restrain low frequency
7、 or dc component.Band-pass filter: it allows a spectrum of signal through and restrain the signal below or above the spectrum, interference and noise.Band-stop filter: it inhibit the signal within a certain frequency band and pass the signal outside the spectrum.2. IntroduceThe filter which is desig
8、ned by using matlab have four functions :low- pass,high-pass,band-stop and band-pass .Every function could input the cut-off frequencies.The equalizer could filter the wav file inputted as we want.The interface is that:可编辑资料 - - - 欢迎下载精品名师归纳总结3. Design Principles2.1 Interface可编辑资料 - - - 欢迎下载精品名师归纳总结
9、The task is to design the filter and equalizer which can edit the inputting signal as we want and choose the frequency spectrum to pass.3.1 the standard signal inputWe design a signal generator which is used to generator standard waveform such as sin,square,triangular,sawtooth and noise.And we can d
10、ecide whether adding different waves .The program is:Fs=10000。可编辑资料 - - - 欢迎下载精品名师归纳总结N=400。x=linspace0,N/Fs,N。t=gethandles.WaveMake,Value。f=str2doublegethandles.frequency,String。a=str2doublegethandles.amplitude,String。 p=0。switch tcase 1y=a*sin2*pi*x*f+p。if gethandles.add,Value=0.0 handles.y=y。else
11、handles.y=handles.y+y。 endcase 2.case 5y=a*2*randsizex-1 。if gethandles.add,Value=0.0 handles.y=y。elsehandles.y=handles.y+y。可编辑资料 - - - 欢迎下载精品名师归纳总结endend handles.inputtype=3。guidatahObject,handles。plothandles.axes1,handles.y。 xlim0 200 。temple=handles.y。f=linspace0,Fs/2,N/2。P=2*ffttemple,N/N 。Pyy=s
12、qrtP.* conjP。plothandles.axes2,f,Pyy1:N/2。The interface is:3.1 the image of waveform3.2 the wave filteringBy choosing the working mode of filter and input cut-off frequencies we can realize the filtering.Theprogram is:y=handles.y。FC=str2doublegethandles.hf,string。Fs=22000。n=44100。N=8。Wn=FC/Fs/2。可编辑资
13、料 - - - 欢迎下载精品名师归纳总结% the low-pass program b,a = butterN,Wn,low 。z=filterb,a,y 。P=fftz,n 。f=linspace0,Fs/2,n/2。Pyy=2*sqrtP.* conjP/n。plothandles.axes3,z。plothandles.axes4,f,Pyy1:n/2。handles.z=z。guidatahObject,handles。By running the program we can realize low-pass filter3.2 the image of low-pass filt
14、er The high-pass program is:b,a = butterN,Wn,high 。z=filterb,a,y 。P=fftz,n。f=linspace0,Fs/2,n/2。Pyy =2*sqrtP.* conjP/n。plothandles.axes3,z。plothandles.axes4,f,Pyy1:n/2。handles.z=z。guidatahObject,handles。可编辑资料 - - - 欢迎下载精品名师归纳总结By running the program we can realize high-pass filter3.3 the image of hi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- matlab滤波器与均衡器设计方案 matlab 滤波器 均衡器 设计方案
限制150内