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
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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.