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

📄 dis_spct.m

📁 很多通信系统的matlab程序,便于修改调用
💻 M
字号:
% Example of Plotting the Discrete Spectrum 
echo on
function='lambda';
a=-1.3;
b=3.3;
n=24;
tol=0.1;
xx=fseries(function,a,b,n,tol);
xx1=xx(n+1:-1:2);
xx1=[conj(xx1),xx];
absxx1=abs(xx1);
pause  % Press any key to see a plot of the magnitude spectrum
n1=[-n:n];
stem(n1,absxx1)
title('The Discrete Magnitude Spectrum')
phasexx1=angle(xx1);
pause  % Press any key to see a plot of the phase spectrum
stem(n1,phasexx1)
title('The Discrete Phase Spectrum')

⌨️ 快捷键说明

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