Plot the range response of an LFM signal hitting three targets at ranges of 2000, 4000, and 5500 meters. Assuming the maximum range of the radar is 10 km, determine the pulse repetition interval from the maximum range.
Create the LFM pulse waveform.
rmax = 10.0e3;
c = physconst('Lightspeed');
pri = 2*rmax/c;
fs = 1e6;
pri = ceil(pri*fs)/fs;
prf = 1/pri;
nsamp = pri*fs;
rxdata = zeros(nsamp,1);
t1 = 2*2000/c;
t2 = 2*4000/c;
t3 = 2*5500/c;
idx1 = floor(t1*fs);
idx2 = floor(t2*fs);
idx3 = floor(t3*fs);
lfm = phased.LinearFMWaveform('PulseWidth',10/fs,'PRF',prf, ...'SweepBandwidth',(30*fs)/40);
w = lfm();
Embed the waveform section of the pulse into the received signal.
Pulse compression library, specified as a
phased.PulseCompressionLibrary
System object.
Input signal, specified as a complex-valued
K-by-L matrix, complex-valued
K-by-N matrix, or a complex-valued
K-by-N-by-L
array. K denotes the number of fast time samples,
L the number of pulses, and N is
the number of channels. Channels can be array elements or beams.
Data Types: double Complex Number Support: Yes
Index of processing specification in the pulse waveform library, specified
as a positive integer.
Example: 3
Data Types: double
Stepped FM waveform subpulse, specified as a positive integer. This index
selects which subpulses of a stepped-FM waveform to plot. This argument only
applies to stepped-FM waveforms.
Example: 5
Data Types: double
Plot units, specified as 'db',
'mag', or 'pow'. who
'db' – plot the response power in
dB.
'mag' – plot the magnitude of the
response.
'pow' – plot the response power.
Example: 'mag'
Data Types: char | string
Version History
Introduced in R2018b
Thank you for your feedback!
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.