swapTransmitAndReceive
Description
swapTransmitAndReceive( reverses the link
        direction in the specified tapped delay line (TDL) 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.tdl)
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
          tdl to reflect the link direction change.
- NumTransmitAntennasand- NumReceiveAntennasoutput structure fields of the function call- info(- tdl)
- Matrix elements related to transmit and receive antennas in the - SpatialCorrelationMatrixproperty and the corresponding output structure field of the function call- info(- tdl)
The function also toggles the TransmitAndReceiveSwapped property value of the input tdl
        between true and false to reflect the actual status of
        the link direction.
Note
To preserve the reciprocity of a multi-antenna channel, set
              tdl.NormalizeChannelOutputs to false before
            calling swapTransmitAndReceive(tdl).
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