清晰,近所有clc;
fc = 77 e9;
fs = 1 e7;
PRT = 160 e-6;
T_sweep = 60 e-6;
波形= phased.LinearFMWaveform (“脉冲宽度”T_sweep,…
脉冲重复频率的1 / PRT,“OutputFormat”,“脉冲”,“NumPulses”,1“SampleRate”fs);
天线= phased.IsotropicAntennaElement (“FrequencyRange”81年[1 e9 e9]);
目标= phased.RadarTarget (“模型”,“Nonfluctuating”,“MeanRCS”,0.5,…
“PropagationSpeed”physconst (“光速”),“OperatingFrequency”、fc);
antennaplatform = phased.Platform (“InitialPosition”(0,0,0),“速度”,(0,0,0));
targetplatform = phased.Platform (“InitialPosition”,7000;5000;0),…
“速度”,(0,0,0));
[tgtrng, tgtang] = rangeangle (targetplatform.InitialPosition,…
antennaplatform.InitialPosition);
Pd = 0.9;
Pfa = 1 e-6;
numpulses = 10;
信噪比= albersheim (Pd Pfa 10);
maxrange = 1.5 e4;
λ= physconst (“光速”)/ fc;
τ= waveform.PulseWidth;
Pt = radareqpow(λ,maxrange、信噪比、τ,RCS的,0.5,“获得”,20);
发射机= phased.Transmitter (“PeakPower”,50 e3,“获得”,20岁,“LossFactor”0,…
“InUseOutputPort”,真的,“CoherentOnTransmit”,真正的);
散热器= phased.Radiator (“传感器”、天线、…
“PropagationSpeed”physconst (“光速”),“OperatingFrequency”、fc);
收集器= phased.Collector (“传感器”、天线、…
“PropagationSpeed”physconst (“光速”),“波阵面”,“平面”,…
“OperatingFrequency”、fc);
接收机= phased.ReceiverPreamp (“获得”,20岁,“NoiseFigure”2,…
“ReferenceTemperature”,290,“SampleRate”fs,…
“EnableInputPort”,真的,“SeedSource”,“属性”,“种子”1 e3);
频道= phased.FreeSpace (…
“PropagationSpeed”physconst (“光速”),…
“OperatingFrequency”足球俱乐部,“TwoWayPropagation”假的,…
“SampleRate”fs);
T = 1 / waveform.PRF;
txpos = antennaplatform.InitialPosition;
rxsig = 0 (int16 (fs * T) numpulses);
为n = 1: numpulses
[tgtpos, tgtvel] = targetplatform (T);
[tgtrng, tgtang] = rangeangle (tgtpos txpos);
sig =波形();
[团体,txstatus] =发射机(团体);
sig =散热器(团体、tgtang);
sig =通道(团体、txpos tgtpos, (0, 0, 0), tgtvel);
sig =目标(团体);
sig =通道(团体、tgtpos txpos, tgtvel, (0, 0, 0));
sig =收集器(团体、tgtang);
rxsig (:, n) =接收机(sig ~ txstatus);
结束
rxsig = pulsint (rxsig,“非相干”);
t = unigrid (0,1 / receiver.SampleRate, t,“()”);
rangegates = (physconst (“光速”)* t) / 2;
情节(rangegates / 1 e3, rxsig)
持有在
包含(的距离(公里))
ylabel (“权力”);
ylim =得到(gca,“YLim”);
情节([tgtrng / 1 e3, tgtrng / 1 e3], [0 ylim (2)),“r”)
持有从