下载此文档

演示增采样和减采样信号的频谱.doc


文档分类:论文 | 页数:约6页 举报非法文档有奖
1/6
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/6 下载此文档
文档列表 文档介绍
演示增采样、减采样的MATLAB 程序
(读者原封不动拷贝成MATLAB程序,加快即可`运行)
% 演示增采样、减采样的过程,给出信号及其频谱。
%
h_fig1 = figure;
set(h_fig1, 'unit', 'normalized', 'position', [, , , ]);
set(h_fig1, 'defaultuicontrolunits', 'normalized');
h_text1 = uicontrol(gcf, 'Style', 'text', 'Position', [, , , ],...
'String', '演示信号的增采样与减采样', 'FontName', '黑体', 'ForegroundColor', 'r', ...
'FontSize', 32, 'FontWeight', 'Bold', 'BackgroundColor', [1, 1, 1]); set(gcf, 'color', 'w')
h_pushbutton1 = uicontrol(h_fig1, 'Style', 'PushButton', 'Position', [, , , ],...
'string', '往下页', 'BackgroundColor', 'y', 'ForegroundColor', 'r', 'FontSize', 14, 'FontWeight', 'Bold',...
'callback', ['set(h_fig1,''visible'', ''off''),',...
'set(h_fig2,''visible'', ''on'')'] )
h_pushbutton2 = uicontrol(h_fig1, 'Style', 'PushButton', 'Position', [, , , ],...
'string', '退出', 'BackgroundColor', [ ], 'ForegroundColor', 'r', 'FontSize', 14, 'FontWeight', 'Bold',...
'callback', ['delete(h_fig1),', 'delete(h_fig2)'])
h_axes01 = axes('Box', 'on', 'Position', [, , , ], 'FontSize', 8) % 在第 2 个图形窗中创建轴对象
h_axes02 = axes('Box', 'on', 'Position', [, , , ], 'FontSize', 8) % 在第 2 个图形窗中创建轴对象
h_axes03 = axes('Box', 'on', 'Position', [, , , ], 'FontSize', 8) % 在第 2 个图形窗中创建轴对象
h_axes04 = axes('Box', 'on', 'Position', [, , ,

演示增采样和减采样信号的频谱 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数6
  • 收藏数0 收藏
  • 顶次数0
  • 上传人mh900965
  • 文件大小124 KB
  • 时间2017-12-14