验证时域移位定理

验证时域移位定理

根据数字信号处理的相关内容可知,若 f ( t ) f(t) f(t)的傅立叶变换
F [ f ( t ) ] = F ( j ω ) \mathscr F\left[ f(t)\right] = F({\rm j}\omega) F[f(t)]=F(jω)
那么在时域进行移位 t 0 t_0 t0,相当频域只改变相位,幅度不变,即:
f ( t + t 0 ) ↔ F ( j ω ) e ± j ω t 0 f(t+t_0) \leftrightarrow F({\rm j}\omega ){\rm e}^{\pm {\rm j}\omega {t_0}} f(t+t0)F(jω)e±jωt0
可以在MATLAB中进行验证:

clc; close all; clear;

fs = 10;
N = 600;
n = 0: N - 1;
t = n / fs;

figure;
subplot(2,3,1);
    xt1 = tripuls(t - 2, 1);
    plot(t, xt1);
    xlabel('$t/\rm{s}$', 'Interpreter', 'latex');
    ylabel('$x_1(t)$', 'Interpreter', 'latex');
        
subplot(2,3,4);
    xt2 = tripuls(t - 10, 1);
    plot(t, xt2);
    xlabel('$t/\rm{s}$', 'Interpreter', 'latex');
    ylabel('$x_2(t)$', 'Interpreter', 'latex');
    
[f1, Ff1] = T2F(t, xt1);
[f2, Ff2] = T2F(t, xt2);
subplot(2,3,2);
    plot(f1, abs(Ff1));
    xlabel('$f/\rm{Hz}$', 'Interpreter', 'latex');
    ylabel('$\mathcal F_1(f)$', 'Interpreter', 'latex');

subplot(2,3,5);
    plot(f2, abs(Ff2));
    xlabel('$f/\rm{Hz}$', 'Interpreter', 'latex');
    ylabel('$\mathcal F_2(f)$', 'Interpreter', 'latex');
    
subplot(2,3,3);
    plot(f1, angle(Ff1));
    xlabel('$f/\rm{Hz}$', 'Interpreter', 'latex');
    ylabel('$\varphi_1(f)$', 'Interpreter', 'latex');

subplot(2,3,6);
    plot(f2, angle(Ff2));
    xlabel('$f/\rm{Hz}$', 'Interpreter', 'latex');
    ylabel('$\varphi_2(f)$', 'Interpreter', 'latex');

结果如下:

untitled

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值