⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mti_fft_test8.m

📁 Moving target detection and the principle of achieving matlab
💻 M
字号:
clear;
clc;
close all;
fr=1e3;%脉冲重复频率
tr=1/fr;%脉冲重复周期
fs=1e6;%采样频率
ts=1/fs;%采样周期
%%%%%%%%%%%%%%%%%%%%%%%%%生成测试模块%%%%%%%%%%%%%%%%%%%%%%
Point=4000;
doppler_vector=2*pi*linspace(0,fr,Point);
t_doppler=(1:10)*tr;
test_matrix=t_doppler'*doppler_vector;
test_matrix_i=cos(test_matrix);
test_matrix_q=sin(test_matrix);
test_matrix=test_matrix_i+test_matrix_q*j;

%%%%%%%%%%%%%%固定杂波对消处理%%%%%%%%%%%%%%%%%%%%
yt=test_matrix;
for i=1:8
       s_mti(i,:)=yt(i,:)+yt(i+2,:)-2*yt(i+1,:);%三脉冲对消
      %s_mti(i,:)=yt(i,:)-yt(i+1,:);%两脉冲对消
end
%s_mti=yt(1:8,:);
%%%%%%%%%%%%%%%%%%%采用FFT进行MTD处理%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
M=8;
L=length(s_mti);
for i=1:L
  % s_temp=s_mti(:,i);
  % s_temp=s_mti(:,i).*chebwin(M);%切比雪夫 加权FFT
    s_temp=s_mti(:,i).*hamming(M);%Hamming 加窗FFT
    s_mtd(:,i)=fft(s_temp,M);
end;
mtd_abs=abs(s_mtd);
mtd_abs=mtd_abs/max(max(mtd_abs));
mtd_abs=20*log10(mtd_abs+eps);
t=linspace(0,fr,Point);
figure

plot(t,abs(s_mtd(1,:)),'-r'),hold on
plot(t,abs(s_mtd(2,:)),'-g'),hold on
plot(t,abs(s_mtd(3,:)),'-b'),hold on
plot(t,abs(s_mtd(4,:)),'-c'),hold on
plot(t,abs(s_mtd(5,:)),'-m'),hold on;
plot(t,abs(s_mtd(6,:)),'-y'),hold on;
plot(t,abs(s_mtd(7,:)),'-k'),hold on
plot(t,abs(s_mtd(8,:)),'-c'),hold on

figure

plot(t,mtd_abs(1,:),'-r'),hold on
plot(t,mtd_abs(2,:),'-g'),hold on
plot(t,mtd_abs(3,:),'-b'),hold on
plot(t,mtd_abs(4,:),'-c'),hold on
plot(t,mtd_abs(5,:),'-m'),hold on;
plot(t,mtd_abs(6,:),'-y'),hold on;
plot(t,mtd_abs(7,:),'-k'),hold on
plot(t,mtd_abs(8,:),'-c'),hold on

axis([0,fr,-70,0])

figure
plot(max(abs(s_mtd)))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -