fig4_4.m
来自「基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的」· M 代码 · 共 13 行
M
13 行
% 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 + =
减小字号Ctrl + -
显示快捷键?