📄 ip_01_03.m
字号:
% MATLAB script for Illustrative Problem 3, Chapter 1.echo onfnct='normal';a=-6;b=6;n=24;tol=0.1;xx=fseries(fnct,a,b,n,tol,0,1);xx1=xx(n+1:-1:2);xx1=[conj(xx1),xx];absxx1=abs(xx1);pause % Press any key to see a plot of the magnituden1=[-n:n];stem(n1,absxx1)title('The Discrete Magnitude Spectrum')phasexx1=angle(xx1);pause % Press any key to see a plot of the phasestem(n1,phasexx1)title('The Discrete Phase Spectrum')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -