MATLAB Answers

OFDM Modulator with Pilot subcarrier gives error

조회 수: 1(최근 30일)
Nicola Caldognetto
Nicola Caldognetto 2021년 6월 8일
답변: Shadaab Siddiqie 2021년 7월 28일
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

답변(1개)

Shadaab Siddiqie
Shadaab Siddiqie 2021년 7월 28일
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.

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by