ex4_6.m
来自「基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的」· M 代码 · 共 14 行
M
14 行
% Gives plot for Example 4.6
%
w = 0:0.2:50;
b = 10;
X = (1)./(b+j*w);
clf
subplot(211),plot(w,abs(X)); % plot magnitude of X
title('Example 4.6')
xlabel('Frequency (rad/sec)')
ylabel('|X|')
subplot(212),plot(w,angle(X)*180/pi); % plot angle of X in deg.
xlabel('Frequency (rad/sec)')
ylabel('Angle(X), degrees')
subplot(111)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?