📄 fig4_4.m
字号:
% Figure 4.4
% Plots phase spectrum for Example 4.1
%
w = [1 4 8];
theta = [0 pi/3 pi/2];
theta = theta*180/pi;
% converts to degrees for plot
clf % clear the figure window
subplot(211),stem(w,theta);
axis([0 10 0 100]);xlabel('Frequency (rad/sec)')
ylabel('Theta (degrees)')
title('Figure 4.4')
subplot(111)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -