|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
MTD中,我用FFT滤波器组检测到两个通道有目标信号,但是不懂这两个信号是哪段程序加入的。希望各位大侠指出,最好解释整个程序每句的意思。程序如下:
$ a/ D' A5 n) E: M- T' Nclear all;
: w% o% w: |$ a7 N' a3 jclose all;
# z \5 }, j* ?; F) b. u4 Bclc;
! Q4 [+ n- X8 _: m8 F& C. E8 ^! cfz=10e3;; F# }8 b/ A4 G9 P$ H
tz=1/fz;, V. E J- z# `" `
fs=8e6;8 `/ m( s& W, ^9 x" o' } F
ts=1/fs;
b) g) G0 f2 W3 ^" |+ Bf_doppler=2.5e3;( G1 w. X& s! N' i h8 I/ d( M5 ~
N=tz/ts;
! ^0 p* k. y6 M% ]" e% ^%%%产生雷达回波%%%%
0 q6 y1 w0 @# Xecho_mobj_pulse=[zeros(1,100),1,1,zeros(1,N-102)];5 s5 r' U2 S( c2 F
s_pc=repmat(echo_mobj_pulse,1,16);& y$ B2 t) E+ `) z' E
n=1:16*N;1 v3 K4 J1 k9 X6 G7 [, W
s_doppler=cos(n*2*pi*f_doppler/fs);
3 x; t0 I/ Z4 X$ d, X" i: J4 O, s, ns_pc=s_pc.*s_doppler;( F& h6 v- G. x5 R, b9 i9 e! a. s
s_noise=0.1*rand(1,N*16);: @! P: X0 V c' m
s_pc=s_pc+s_noise;
4 B* k. Y0 ]6 T ~% yfigure,. D6 o' e5 n/ k8 ]# Q
plot(0:tsp16*N-1)*ts,s_pc),xlabel('t(单位:s)'),title('回波信号');
8 c' x( m7 `( i' \+ Ps_pc=reshape(s_pc,fix(N),16);9 D* y9 K3 Q4 L4 j1 [
|
|