How can I create an OFDM signal with set subcarrier spacing

15 views (last 30 days)
I am trying to generate an OFDM signal with the following parameters
% OFDM Parameters
totalSubcarriers = 64;
occupiedSubcarriers = 53;
subcarrierSpacing = 312.5e3;
sequenceLength = 10; -> symbols
cyclicPrefixLength = 16; -> samples
modulationScheme = 'QPSK';
6 guard subcarriers on the left and 5 on the right.
I feel like I am doing this correct but i wonder if I am doing the guard carriers correctly. The end goal is to play this out an a vector signal generator and when I currently do that I don't see what i would expect.
Any help on what I am doing wrong?

Answers (1)

Supraja
Supraja on 27 Jul 2023
I understand that you want to generate the OFDM signal with its parameters.
You can go through the documentation link of the OFDM modulator whose documentation link is attached here:
https://www.mathworks.com/help/wireless-hdl/ref/ofdmmodulator.html?searchHighlight=generate%20OFDM%20vector%20signals&s_tid=srchtitle_support_results_1_generate%20OFDM%20vector%20signals
Hope this helps!

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!