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

📄 fig7_2.m

📁 基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的信号与系统基础.
💻 M
字号:
% Figure 7.2
Omega = -pi:2*pi/300:pi;
a = 0.5;
X = (1-a*cos(Omega)-j*a*sin(Omega))./(1-2*a*cos(Omega)+a^2);
clf
subplot(211),plot(Omega,abs(X));
title('Figure 7.2')
xlabel('\Omega')  % uses greek characters
ylabel('|X|')
subplot(212),plot(Omega,angle(X)*180/pi);
xlabel('\Omega')
ylabel('Angle(X), degrees')
subplot(111)
% figures in text were plotted using 
%  plot(Omega/pi,abs(X)) and plot(Omega/pi,angle(X)*180/pi)
%  and the pi's in the axis labels were added by hand

⌨️ 快捷键说明

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