连续信号的傅里叶变换及matlab显示

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

(1)f(t)=u(t+6)-u(t-6)(2)f1(t)=f(-2t)(3)f2(t)=f(t-2)(4)f3(t)=f(t)·e以上四个式子的Matlab编程求其傅里叶变换与幅频特性,相频特性图dt=0.001t=-15:dt:15;f=(t=-6)-(t=6);k=-600:600;w1=2*pi*k/600;F=f*exp(-j*t'*w1)*dt;subplot(4,3,1);plot(t,f);axis([-15,15,-0.1,1.1]);grid;subplot(4,3,2);plot(w1,abs(F));axis([-7,7,-1,13]);grid;subplot(4,3,3);plot(w1,angle(F));axis([-10,10,-5,5]);grid;dt=0.001t=-15:dt:15;f=(t=6)-(t=-3);k=-600:600;w1=2*pi*k/600;F=f*exp(-j*t'*w1)*dt;subplot(4,3,4);plot(t,f);axis([-15,15,-0.1,1.1]);grid;subplot(4,3,5);plot(w1,abs(F));axis([-7,7,-1,10]);grid;-j6tsubplot(4,3,6);plot(w1,angle(F));axis([-10,10,-5,5]);grid;dt=0.001t=-15:dt:15;f=(t=-4)-(t=8);k=-600:600;w1=2*pi*k/600;F=f*exp(-j*t'*w1)*dt;subplot(4,3,7);plot(t,f);axis([-15,15,-0.1,1.1]);grid;subplot(4,3,8);plot(w1,abs(F));axis([-7,7,-1,13]);grid;subplot(4,3,9);plot(w1,angle(F));axis([-8,8,-5,5]);grid;dt=0.001;t=-15:dt:15;f=((t=-6)-(t=6)).*exp(-j*5*t);k=-600:600;w1=2*pi*k/600;F=f*exp(-j*t'*w1)*dt;subplot(4,3,10);plot(t,f);axis([-10,10,-1.2,1.2]);grid;subplot(4,3,11);plot(w1,abs(F));axis([-7,7,-1,13]);grid;subplot(4,3,12);plot(w1,angle(F));axis([-8,8,-5,5]);grid;

1 / 3
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功