|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
MTD中,我用FFT滤波器组检测到两个通道有目标信号,但是不懂这两个信号是哪段程序加入的。希望各位大侠指出,最好解释整个程序每句的意思。程序如下:* b( @: e! m' S! U( R
clear all;( o5 H( J' J( S5 U3 } |3 \
close all;8 i) Z- y* l9 G6 l0 E& O# u
clc;
: u1 @0 X0 \' P+ J% s) J- i1 T( Bfz=10e3;1 W, C6 v5 N) j$ w# a( @
tz=1/fz;
5 Q0 W7 U) @# b" Pfs=8e6;! v4 C4 W7 r9 r4 [
ts=1/fs;( b R N8 |! L! y% Q8 j
f_doppler=2.5e3;
" P1 g* Y0 |4 ~- B+ { B" oN=tz/ts;
+ C/ ?: B& y3 m9 T% A2 a0 \9 z%%%产生雷达回波%%%%$ O/ a! W/ _7 V" c% n6 s& n5 w% F1 W
echo_mobj_pulse=[zeros(1,100),1,1,zeros(1,N-102)];
7 p' `/ o# s- U9 L0 S/ @1 W# {s_pc=repmat(echo_mobj_pulse,1,16);! y4 x# _$ w0 q$ \
n=1:16*N;
) k. D" G6 A7 [0 P I0 a) l2 Ss_doppler=cos(n*2*pi*f_doppler/fs);
: l$ J2 e ~! Z# Ls_pc=s_pc.*s_doppler;, z: B/ H/ x0 u6 D
s_noise=0.1*rand(1,N*16);
3 u* S& m8 Q3 x1 N4 l/ t( es_pc=s_pc+s_noise;
0 p2 p4 x7 g9 G6 r8 w9 @figure,
4 [+ X6 I/ R; X. \0 qplot(0:tsp16*N-1)*ts,s_pc),xlabel('t(单位:s)'),title('回波信号');
; c- }% v2 Q7 E- }* V# ts_pc=reshape(s_pc,fix(N),16);3 p4 A) @" Z) n
|
|