傅里叶变换和非周期信号的频谱
- 格式:docx
- 大小:64.44 KB
- 文档页数:2
第10章傅里叶变换和非周期信号的频谱
10.1利用fourier 函数求下列信号的傅里叶变换F (j ω),并利用ezplot 函数绘出其幅度频谱|F (j ω)|和相位频谱φ(ω)。
观察比较三个信号的幅频特性和相频特性,并利用傅里叶变换的性质加以解释。
(1)t
t t f ππ2)2sin()(1= (2))
2(2)]2(2sin[)(2--=t t t f ππ
(3)23]
2)
2sin([)(t t t f ππ=
(1)syms t im re phase;
f = sin(2*pi*t)/(2*pi*t);
Fw = fourier(f)
subplot(311);
ezplot(f);
axis([-2.5 2.5 -pi pi]);
xlabel('时域波形');
subplot(312);
ezplot(abs(Fw));
axis([-2.5 2.5 -pi pi]);
xlabel('幅度谱');
im = imag(Fw);
re = real(Fw);
phase = atan(im/re)
subplot(313);
ezplot(phase);
axis([-2.5 2.5 -pi pi]);
xlabel('相位谱');
(2)
syms t im re phase;
f =
sin((2*pi*(t-2))/(2*pi*(t
-2));
Fw = fourier(f)
subplot(311);
ezplot(f);
axis([-2.5 2.5 -pi pi]);
xlabel('时域波形');
subplot(312);
ezplot(abs(Fw));
axis([-2.5 2.5 -pi pi]);
xlabel('幅度谱'); im = imag(Fw);
re = real(Fw);
phase = atan(im/re) subplot(313);
ezplot(phase);
axis([-2.5 2.5 -pi pi]); xlabel('相位谱');
(3)
syms t im re phase;
f =
[sin(2*pi*t)/(2*pi*t)]^2; Fw = fourier(f)
subplot(311);
ezplot(f);
axis([-2.5 2.5 -pi pi]); xlabel('时域波形'); subplot(312);
ezplot(abs(Fw));
axis([-2.5 2.5 -pi pi]); xlabel('幅度谱');
im = imag(Fw);
re = real(Fw);
phase = atan(im/re) subplot(313);
ezplot(phase);
axis([-2.5 2.5 -pi pi]); xlabel('相位谱');。