⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showwin.m

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 M
字号:
% show window script
%

figure

axes('Position',[.15 .62 .8 .3]);
plot(t,window); 
title('窗口函数');
xlabel('时间(秒)');
grid;
ylabel('窗口');

axes('Position',[.15 .2 .8 .3]);
[W,omega]=freqz(window,1,512);
plot(omega/2/pi/T,20*log10(abs(W))); 
set(gca,'xlim',[0 1/(2*T)]);
xlabel('频率 (Hz)');
ylabel('幅度 (dB)');
grid;
windclose=uicontrol('Style','Pushbutton','Position',[.85 .02 .12 .08],...
	'Units','normalized','Callback','close','String','关闭');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -