Рaxis([-3 3 0 1. 1]) ;title(,sin(t)/t 信号');Рsubplot (2, 1,2), ezplot (abs(F), [-8:0.01:8]) ;% 绘制信号的频谱Рsin(t)/t 信号Р1Р0.8Р0.6Р0.4Р0.2Р0Р-0.2Рtitlefsin(t)/t 信号的频谱');РРsin(t)/t信号的频谱РI?I?IР4 -Р-?A AР3?N\Р-Р2-Р-?|Р1 -Р0.5 -?|Р0 ??IР-10?-5Р0 wР5Р10Рm32. m:Рsyms t w f ft;Рf二sin(2*t)/(2*t);Рft=f*exp(-j*w*t);РF=int (ft, t, -2, 2);РF二simple(F);FРsubplot (2, 1, 1), ezplot (f, [-2 2]);Р%定义符号变量Р%信号Р%计算被积函数Р%计算傅立叶变换F(w)Р%化简Р%绘制信号Рaxis([-3 3 0 1. 1]) ;title(J sin(t)/t 信号');Рsubplot (2, 1, 2), ezplot (abs (F), [-8:0. 01:8]) ;% 绘制信号的频谱Рtitle(,sin(2*t)/(2*t)信号的频谱');РР1Р0.8Р0.6Р0.4Р0.2Р0Р-0.2Рsin(2t)/2t 信号Р-6?-4?-2?0?2?4?6РtРsin(2t)/2t信号的频谱Рi?i?i?i?i?i?iР1.8 -?-Р1.6 -?/ \ f\ \?_РI \ / \ / \ / I I \y?v?\/ |Р1.4 -?;?;?-Р1.2 -?I?I?_Р1 -?-РI?IР0.8 -?-Р0.6 - I 0.4 -?-Р0.2 -?I?-РI?IР-0.2 -?-Р-8?-6?-4?-2?0?2?4?6?8Рw