Main Content

radarTransceiver

Create corresponding radar transceiver from radarDataGenerator

Since R2021a

Description

example

iqSensor = radarTransceiver(radarGenerator) creates a corresponding radar transceiver, iqSensor, based on the radarDataGenerator object, radarGenerator. The function configures the parameters in iqSensor so that you can process the signal it generates to obtain comparable detections to those returned from radarGenerator.

Examples

collapse all

Create a radarDataGenerator and generate a radar transceiver from it.

rdr = radarDataGenerator;
iqsensor = radarTransceiver(rdr);

Produce radar signal from a target using the transceiver.

tgt = struct('Position',[50e3 0 0]);
x = iqsensor(tgt,0);
t = (0:numel(x)-1)/iqsensor.Waveform.SampleRate;
plot(t*physconst('lightspeed')/2,abs(x))
xlabel('Range (m)')
ylabel('Magnitude')

Figure contains an axes object. The axes object with xlabel Range (m), ylabel Magnitude contains an object of type line.

Input Arguments

collapse all

Radar data generator, specified as a radarDataGenerator object.

Output Arguments

collapse all

Radar transceiver, returned as a radarTransceiver object.

Extended Capabilities

Version History

Introduced in R2021a