OFDM Modulator with Pilot subcarrier gives error

2 visualizaciones (últimos 30 días)
Nicola Caldognetto
Nicola Caldognetto el 8 de Jun. de 2021
Respondida: Shadaab Siddiqie el 28 de Jul. de 2021
I'm trying to simulate with Simulink a simple OFDM comunnication system. My scheme is availble below and I've choosen as an input a Bernoulli with sample time 1/192*1e-3 and 192 samples per frame. The modulation in 16 QAM and the OFDM block has an FFT lenght of 64, 15 guard bands for each side, a prefix lenght of 16 and pilot subcarrier indies at 16 and 32 (see below)
Now the issue is that I got an error Error in 'OFDM/Buffer1': All sample times must be discrete. No continuous or constant sample times are allowed. where the Buffer1 is the one on the bottom before the 16 QAM demodulator
(PN Sequence Generator settings below)
How can I fix it to use the pilot symbol

Respuestas (1)

Shadaab Siddiqie
Shadaab Siddiqie el 28 de Jul. de 2021
From my understanding you are getting an error when running above Simulink model. You can :
  1. Change the solver to discrete in configuration parameters in Simulink UI. Simulation > Model Configuration Parameters > Solver.
  2. On the Simulink toolbar, select Display > Sample time and check all. This will show the sample time for all of the signals in the model and show you where there is a continuous signal. You can change this by setting the block properties from which the signal originates.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by