clc;
clear;
close all;
warning off;
addpath(genpath(pwd));
%%% parameters' definition
c=3e+8; % speed of light
pi=3.1415926;
j=sqrt(-1);
Tp=1e-6; % transmitted pulse width
fc=1e+9; % carrier frequency
Br=50.e+6; % transmitted bandwidth
Fs=200.e+6; % A/D sample rate
kr=Br/Tp; % range chirp rate
Nr=Tp*Fs;
Ni=1:Nr;
tr=(Ni-Nr/2)*Tp/Nr;
%===============================
%Generate a Chirp pulse
%===============================
sig = exp(j*pi*kr*(tr).^2);
figure;
subplot(2,3,1); plot(real(sig));
subplot(2,3,2); plot(imag(sig));
%===============================
% Spectrum of this Chirp pulse
%===============================
sig_spec=fftshift(fft(sig));
subplot(2,3,3); ; plot(abs(sig_spec));
%===============================
%Match filtering in time domain
%===============================
mf_sig = conj(fliplr(sig));
subplot(2,3,4); plot(real(mf_sig));
subplot(2,3,5); plot(imag(mf_sig));
mf_out = conv(sig, mf_sig);
subplot(2,3,6); plot(abs(mf_out(Nr/2+1:Nr*3/2)));
%=====================================
%Match filtering in frequency domain
%=====================================
fr=(Ni-Nr/2)*Fs/Nr;
mf_spec=exp(j*pi*fr.^2/kr);
mf_spec_out=ifft(fftshift(sig_spec.*mf_spec));
figure;
subplot(1,2,1); plot(abs(mf_spec_out));
sig_un=20*log10(abs(mf_spec_out)/max(abs(mf_spec_out)));
for i=1 :Nr
if (sig_un(i)<-40 )
sig_un(i)=-40;
end
end
subplot(1,2,2); plot(sig_un);
matlab-(含教程)带有匹配滤波器的雷达信号调制和脉冲压缩Matlab仿真
版权申诉
99 浏览量
2021-09-09
18:59:48
上传
评论
收藏 1.7MB 7Z 举报
mYlEaVeiSmVp
- 粉丝: 1922
- 资源: 19万+
最新资源
- 1_1、_NET Core 基础理论.vep
- 2_2、源码编译与解读(难度大,可最后看).vep
- (Linux环境下C语言)学生管理系统
- 基于STM32F103单片机(寄存器版)+OV7725摄像头模块照相机实验实验例程源码.zip
- 基于Python实现的桥梁易损性分析源码+代码注释.zip
- 基于python开发使用深度学习去预测股票后续的价格+源码+文档(毕业设计&课程设计&项目开发)
- flowable-designer-5.22.0.zip
- threadmanager.cpp
- 腾讯云小程序 - 一站式开发与部署平台
- 基于JSP+Java+Servlet采用MVC模式开发的购物网站+源码(毕业设计&课程设计&项目开发)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈