用 ideallp 函数设计 FIR 线性相位滤波器.doc

用 ideallp 函数设计 FIR 线性相位滤波器.doc

ID:48153952

大小:103.00 KB

页数:4页

时间:2020-01-21

用 ideallp 函数设计 FIR 线性相位滤波器.doc_第1页
用 ideallp 函数设计 FIR 线性相位滤波器.doc_第2页
用 ideallp 函数设计 FIR 线性相位滤波器.doc_第3页
用 ideallp 函数设计 FIR 线性相位滤波器.doc_第4页
资源描述:

《用 ideallp 函数设计 FIR 线性相位滤波器.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、用ideallp函数设计FIR线性相位滤波器%G038%用ideallp函数设计FIR线性相位滤波器%h_fig1=figure;%创建第1个图形窗口set(h_fig1,'unit','normalized','position',[0.0,0.0,0.99,0.94]);set(h_fig1,'defaultuicontrolunits','normalized');set(gcf,'color','w')h_text1=uicontrol(gcf,'Style','text','Position',[0.2,0.9,0.7

2、,0.07],...%在第1个图形窗中创建文本框'String','FIR线性相位滤波器','FontName','黑体','ForegroundColor','r',...'FontSize',38,'FontWeight','Bold','BackgroundColor',[1,1,1]);set(gcf,'color','w')h_text2=uicontrol(gcf,'style','text','BackgroundColor','w','Position',[0.01,0.58,0.2,0.1],...%在第1个图

3、形窗中创建文本框'string','滤波器类型','ForegroundColor','r','FontWeight','Bold','FontSize',20)h_pushbutton1=uicontrol(h_fig1,'Style','PushButton','Position',[0.07,0.2,0.08,0.07],...%创建命令钮h_pushbutton2,定义其属性'string','退出','BackgroundColor',[0.80.90.8],'ForegroundColor','r','FontSiz

4、e',14,'FontWeight','Bold',...'callback','delete(h_fig1)')hr_1=uicontrol(gcf,'style','radio','BackgroundColor','w',...%创建第1个radio钮'string','低通','ForegroundColor','r','FontWeight','Bold','FontSize',10,...'position',[0.04,0.53,0.08,0.05]);set(hr_1,'value',get(hr_1,'Max'

5、));set(hr_1,'callback',[...%定义第1个radio钮的回调函数'set(hr_1,''value'',get(hr_1,''max'')),','set(hr_2,''value'',get(hr_2,''min'')),',...'set(hr_3,''value'',get(hr_3,''min'')),','set(hr_4,''value'',get(hr_4,''min'')),',...'cb05(h_axes1,h_axes2,h_axes3,h_axes4,1)']);hr_2=uico

6、ntrol(gcf,'style','radio','BackgroundColor','w',...%创建第2个radio钮'string','高通','ForegroundColor','r','FontWeight','Bold','FontSize',10,...'position',[0.12,0.53,0.08,0.05]);set(hr_2,'value',get(hr_2,'Min'));set(hr_2,'callback',[...%定义第2个radio钮的回调函数'set(hr_2,''value'',ge

7、t(hr_2,''max'')),','set(hr_1,''value'',get(hr_1,''min'')),',...'set(hr_3,''value'',get(hr_3,''min'')),','set(hr_4,''value'',get(hr_4,''min'')),',...'cb05(h_axes1,h_axes2,h_axes3,h_axes4,2)']);hr_3=uicontrol(gcf,'style','radio','BackgroundColor','w',...%创建第3个radio钮'st

8、ring','带通','ForegroundColor','r','FontWeight','Bold','FontSize',10,...'position',[0.04,0.45,0.17,0.05]);set(hr_3,'value',get(hr_3,'

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。