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

📄 fig9_25.m

📁 基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的信号与系统基础.
💻 M
字号:
% Figure 9.25
% asymptotic plot
wa = [.01 .1 1 10 100];
maga = [0 0 0 20 40];
phasea = [0 0 45 90 90];
w = logspace(-2,2);
Hw = j*w+1;
clf
subplot(211),semilogx(wa,maga,w,20*log10(abs(Hw)),'-.',...
     [.9 .8],[4 7],'w',[2.2 3.2],[5 5],'w');
ylabel('decibels')
grid
xlabel('Frequency (rad/sec)')
axis([.01 100 0 40]);
text(.5,12,'Exact')
text(3.5,5,'Asymptote')
subplot(212),semilogx(wa,phasea,w,angle(Hw)*180/pi,'-.',...
    [.35 .25],[30 33],'w',[.42 .55],[20 15],'w')
ylabel('degrees')
text(.03,35,'Asymptote')
text(.6,15,'Exact')
grid
xlabel('Frequency (rad/sec)')
subplot(111)

⌨️ 快捷键说明

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