📄 检测到加速度信息的雷达回波信号.m
字号:
% 检测到加速度信号的回波信号及其频谱图
close all
clear all
clc;
tao=1*10^(-4);
f0=10e6;
A=50; %物体的径向加速度
V=500; %物体的径向速度
R=10e4; %雷达与物体的距离
C=3e8;
B=1*10^6;
u=B/tao;
t=-tao/2:tao/1023:tao/2;
s=exp(j*(2*pi*(f0*(t+2*(V/C)*t+(A/C)*t.^2-2*R/C)+0.5*u*t.^2))); %信号表达式
subplot(2,1,1)
plot(t,s,'r'),axis([-tao/2 tao/2 -1 1]);
xlabel('t(单位:秒)'),ylabel('y(单位:伏)'),title('回波信号时域');
grid on
S0=fft(s,1024);
S1=abs(S0);
S2=fftshift(S1); %信号幅频谱
f1=(1023/tao)*(0:511)/1024;
f=[-1023/(tao*2),-fliplr(f1),f1(2:length(f1))]; %频率轴
subplot(2,1,2)
plot(f,S2/max(S2));
xlabel('f(单位:赫兹)'),ylabel('y(单位:伏)'),title('回波信号幅度谱');
grid on
axis([-3*B B 0 1]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -