MATLAB_GUI设计FIR滤波器(窗函数)
- 格式:doc
- 大小:301.00 KB
- 文档页数:18
1 数字滤波器的概述 ............................................................................................................................... 3 1.1 FIR数字滤波器设计原理 .......................................................................................................... 3 1.2 FIR数字滤波器的特性 .............................................................................................................. 3 1.3 窗函数的介绍............................................................................................................................. 5 2 FIR数字滤波器设计及实现 ................................................................................................................. 6 2.1 低通滤波器的设计 ..................................................................................................................... 6 2.2 高通滤波器的设计 ..................................................................................................................... 7 2.3 带通滤波器的设计 ..................................................................................................................... 9 2.4 带阻滤波器的设计 ................................................................................................................... 10 3基于MATLAB GUI的FIR滤波器的仿真 ........................................................................................ 12 3.1 FIR数字滤波器设计所实现的任务 ........................................................................................ 12 3.2 FIR数字滤波器界面设计 ........................................................................................................ 12 3.3 FIR数字滤波器函数的编写 .................................................................................................... 13 3.3.1 菜单FilterType的回调函数 ......................................................................................... 13 3.3.2 显示类型DispType的函数 .......................................................................................... 14 3.3.3 阶数N和最小阶数N按钮的函数 .............................................................................. 14 3.3.4 文本编辑框的回调函数 ................................................................................................ 15 3.3.5 滤波器波形按钮的回调函数 ........................................................................................ 15 3.3.6 文本框Rp和Rs的函 数 ............................................................................................. 16 3.3.7 产生信号按钮的回调函数 ............................................................................................ 16 3.3.8 滤波后的信号按钮的回调函数 .................................................................................... 16 3.3.9 按钮Quit的回调函数................................................................................................... 16 3.4总程序的编写............................................................................................................................ 17 4 实验结果与显示 ................................................................................................................................. 17 5 结束语 ................................................................................................................................................. 17 6 感谢 ..................................................................................................................................................... 17 7 参考文献 ............................................................................................................................................. 17 附录 ......................................................................................................................................................... 18 基于MATLAB的FIR数字滤波器的设计与仿真 李宏华 湛江师范学院信息科学与技术学院,湛江 524048
摘 要:本文从FIR数字滤波器的设计原理和特性入手,实现了用MATLAB设计FIR数字滤波器的功能,重点阐述了通过MATLAB GUI实现了FIR数字滤波器的仿真。详细介绍了MATLAB GUI界面的构建与回调函数的程序编写与调试。 关键词:MATLAB;GUI;FIR滤波器
The Design and Simulation of FIR Digital Filter base on ATLAB LI Honghua Information Science & Technology School, Zhanjiang Normal University, zhanjiang, 524048 China
Abstract:This paper starts with the design principles and characteristics of the FIR digital filter, Achieve the task of using MATLAB software to design the FIR digital filter, in particular introduction to complete the simulation of the FIR digital filter base on MATLAB GUI software. Comprehensive introduce to the building of GUI interface and the program compiled with debugging of the callback function. Key word:MATLAB; GUI; FIR Filter