I understand you want to configure the AD9361 transmitter model in MATLAB to shift the output signal from baseband to a center frequency of 2.4 GHz.
To achieve this, you can follow the steps (reproduced in MATLAB R2024b):
- Open the updated AD9361 transmitter model (which has the option to specify Local Oscillator (LO) frequency directly) by executing the below command in MATLAB:
open ad9361_tx
- Uncomment the “LO Signal” and “Spectrum TX” block.
- Double click on the “ad9361_TX” block to set the desired LO Frequency (Hz).
However, even after setting the LO frequency, the “Spectrum Analyzer” will still display the signal centered at 0 Hz. This is because the “Offset (Hz)” parameter is set to 0 by default, so the spectrum is plotted relative to baseband. The Spectrum Analyzer displays signals within the Nyquist interval, which spans from
for two-sided spectrum. As a result, the center frequency appears at 0 Hz unless otherwise specified.

To shift the spectrum to show the actual transmit frequency:
- Go to the Scope tab of Spectrum Analyzer.
- Set the Offset (Hz) parameter to LO frequency.
This effectively shifts the spectrum to be centered around the specified RF frequency instead of baseband as shown in the figure below.

For more details, please refer to the "Spectrum Analyzer" documentation, which explains how frequency offset affects the displayed spectrum: