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

📄 pulsecompression.m

📁 Programs developed during Radar Course
💻 M
字号:
clc
close all
M=128;
T=0.001;
tb=T/(M-1);
t=[0:tb:T];
df=10^4/T;
uT=exp(j*pi*df*(t).^2);
uTr=real(uT);
uTr2=[zeros(1,30) uTr]+[uTr zeros(1,30)]
v=randn(size(uTr));
uTn=uTr+v; %-------Add noise
v2=randn(size(uTr2));
uTn2=uTr2+v2; %-------Add noise


st=xcorr(uTn,uTr);
st2=xcorr(uTr2,uTr);

figure;subplot(211);plot(uTr);title('Transmitted LFM Pulse')
subplot(212)
plot(xcorr(uTr));title('Compressed LFM Pulse')
figure;subplot(211);plot(uTn);title('Transmitted LFM Pulse with Noise')
subplot(212)
plot(st);title('Compressed LFM Pulse with noise')

figure;subplot(211);plot(uTr2);title('Received LFM Pulses from 2 targets')
subplot(212)
plot(st2);title('Compressed LFM Pulses to resolve 2 targets')
figure;subplot(211);plot(uTn);title('Received LFM Pulses from 2 targets in noise')
subplot(212)
plot(xcorr(uTn2,uTr));title('Compressed LFM Pulses to resolve 2 targets in noise')

⌨️ 快捷键说明

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