资源描述:
《Matlab雷达回波数据模拟》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、clear,holdoffformatcompactJ=sqrt(-1);closeall%Getrootfilenameforsavingresultsfile=input('Enterrootfilenamefordataandlistingfiles:','s');%formradarchirppulseT=10e-6; %pulselength,secondsW=10e6; %chirpbandwidth,Hzfs=12e6; %chirpsamplingrate,Hz;oversamplebyalittlefprintf(
2、'Pulselength=%gmicroseconds',T/1e-6)fprintf('Chirpbandwidth=%gMhz',W/1e6)fprintf('Samplingrate=%gMsamples/sec',fs/1e6)s=git_chirp(T,W,fs/W);% 120-by-1arrayplot((1e6/fs)*(0:length(s)-1),[real(s)imag(s)])title('RealandImaginaryPartsofChirpPulse')xlabel('time(usec)')ylabel(
3、'amplitude')gridNp=20; %20pulsesjkl=0:(Np-1); %pulseindexarray,慢时间采样的序列,注意第一个PRI标记为0是为了慢时间起始时刻从零开始PRF=10.0e3; %PRFinHzPRI=(1/PRF); %PRIinsecT_0=PRI*jkl; %relativestarttimesofpulses,insecg=ones(1,Np); %gainsofpulsesT_out=[1240]*1e-6;%start
4、andendtimesofrangewindowinsec,这个就是接收窗的时间宽度TrecT_ref=0; %systemreferencetimeinusec,T_ref=0指T_0=0时,r_at_T_0=ri;当T_0~=0时,r_at_T_0=ri-vi*T_0(j)fc=10e9; %RFfrequencyinHz;10GHzisX-bandfprintf('Wearesimulating%gpulsesatanRFof%gGHz',Np,fc/1e9)fprintf('andaPRFof%g
5、kHz,givingaPRIof%gusec.',PRF/1e3,PRI/1e-6)fprintf('Therangewindowlimitsare%gto%gusec.',... T_out(1)/1e-6,T_out(2)/1e-6)%ComputeunambiguousDopplerintervalinm/sec%Computeunambiguousrangeintervalinmetersvua=3e8*PRF/(2*fc);%第一盲速rmin=3e8*T_out(1)/2;rmax=3e8*T_out(2)/2;rua=3e8/2
6、/PRF;fprintf('Theunambiguousvelocityintervalis%gm/s.',vua)fprintf('Therangewindowstartsat%gkm.',rmin/1e3)fprintf('Therangewindowendsat%gkm.',rmax/1e3)fprintf('Theunambiguousrangeintervalis%gkm.',rua/1e3)%Definenumberoftargets,thenrange,SNR,and%radialvelocityofeach. T
7、heSNRwillbetheactualSNRofthetargetin%thefinaldata;itwillnotbealteredbyrelativerange.Ntargets=4;del_R=(3e8/2)*(1/fs)/1e3; %inkmranges=[23.84.44.4]*1e3; %inkmSNR= [-35107]; %dBvels=[-0.4-0.20.20.4]*vua; %inm/sec%FromSNR,wecomput
8、erelativeRCSusingtheideathatSNRisproportional%t