swapTransmitAndReceive
Description
swapTransmitAndReceive(
reverses the link
direction in the specified clustered delay line (CDL) channel model by swapping the roles of
the transmit and receive antennas in the channel. The swap results in a reciprocal channel
model but does not alter the channel fading. Sending waveforms through the channel for both
link directions (original and reversed) results in channel path gains that differ only in
swapped transmit and receive antenna dimensions. Calling the function again reverts the
channel to its original link direction by swapping back the roles of the transmit and
receive antennas.cdl
)
You can use this function during a simulation to model time division duplex (TDD) operation by sending waveforms for each link direction through the channel while maintaining channel reciprocity.
The function swaps the values of these property pairs of the input
cdl
to reflect the link direction change.
AnglesAoD
andAnglesAoA
(only whenDelayProfile
is set to'Custom'
)AnglesZoD
andAnglesZoA
(only whenDelayProfile
is set to'Custom'
)Elements related to departure and arrival angles in the
AngleSpreads
andMeanAngles
propertiesMobility configurations of the receiver and transmitter in the
MaximumDopplerShift
andUTDirectionOfTravel
propertiesNumTransmitAntennas
andNumReceiveAntennas
output structure fields of the function callinfo
(cdl
)NumInputSignals
andNumOutputSignals
output structure fields of the function callinfo
(cdl
)
The function also toggles the TransmitAndReceiveSwapped
property value of the input cdl
between true
and false
to reflect the actual status of
the link direction.
Note
To preserve the reciprocity of a multi-antenna channel, set
cdl.NormalizeChannelOutputs
to false
before
calling swapTransmitAndReceive(cdl)
.
Examples
Input Arguments
References
[1] 3GPP TR 38.901. “Study on channel model for frequencies from 0.5 to 100 GHz.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
Extended Capabilities
Version History
Introduced in R2021a