利用matlab仿真,同一个波形探测距离不同的目标,为什么对目标回波进行fft之后得到的频谱图会发生移动,不应该时移不改变幅度谱吗?
clc
clear
close all
nscat=3;%散射点数量
b= 100e6;%带宽
taup=0.005e-3;%脉冲宽度
scat_range= [30 70 120];%目标距离
scat_rcs = [1 1 1];%目标rcs
% speed of light
c = 3.e8;
% number of samples
n = fix(2 * taup * b);
% initialize input, output and replica vectors
x(nscat,1:n) = 0.;
y(1:n) = 0.;
replica(1:n) = 0.;
t = linspace(-taup/2,taup/2,n);
sampling_interval = 1 / 2.5 /b;
freqlimit = 0.5/ sampling_interval;
freq = linspace(-freqlimit,freqlimit,n);
for j = 1:1:nscat
range = scat_range(j) ;
x(j,:) = scat_rcs(j) .* exp(i * pi * (b/taup) .* (t +(2*range/c)).^2) ;
y = x(j,:) + y;
plot(freq,fftshift(abs(fft(x(j,:)))));
hold on;
end