📄 lfm_matchfilter.m
字号:
%LFM匹配滤波器
%==========================================================================
clear;
T=10e-6; %脉冲宽度为:10微秒
B=50e6; %调频带宽为:50MHz
slope=B/T;
F_sample=10*B;
T_sample=1/F_sample;
N=T/T_sample;
t=linspace(-T/2,T/2,N);
S_tran=exp(j*pi*slope*t.^2); %发送的LFM信号
H=exp(-j*pi*slope*t.^2); %匹配滤波器:H(t)=s*(-t)
Sot=conv(S_tran,H); %输出信号为发送信号和匹配滤波器的卷积
L=2*N-1;
t1=linspace(-T,T,L);
Z=abs(Sot);
Z=Z/max(Z); %归一化
Z=20*log10(Z);
t1=B*t1;
plot(t1,Z);
axis([-15,15,-50,10]);
grid on;
xlabel('时宽带宽积');
ylabel('幅度 单位:dB');
title('LFM信号通过匹配滤波器的输出结果');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -