From: HSQ on
Hello,

I'm trying to build an OFDM simulator using QAM-64.

I'm still in my first steps and I'm having troubles with the QAM demodulator. The problem is that after doing the FFT and pass it through unbuffer, the QAM demodulator give me the following error:
Error reported by S-function 'scomapskdemod' in 'Sim_Part_one_without_Selctor/Rectangular QAM Demodulator Baseband':
In sample-based mode, the input must be a scalar


I'm really new to the use of Simulink and I'm having problems solving this error.

I have uploaded my file here: http://www.megaupload.com/?d=EXS97UNC


Any help is greatly appreciated.
From: Idin Motedayen-Aval on
HSQ wrote:
> Hello,
>
> I'm trying to build an OFDM simulator using QAM-64.
>
> I'm still in my first steps and I'm having troubles with the QAM demodulator. The problem is that after doing the FFT and pass it through unbuffer, the QAM demodulator give me the following error:
> Error reported by S-function 'scomapskdemod' in 'Sim_Part_one_without_Selctor/Rectangular QAM Demodulator Baseband':
> In sample-based mode, the input must be a scalar
>
>
> I'm really new to the use of Simulink and I'm having problems solving this error.
>
> I have uploaded my file here: http://www.megaupload.com/?d=EXS97UNC
>
>
> Any help is greatly appreciated.

Take a look at the OFDM demo models in the Communications Blockset.
They might help you figure things out.
At the MATLAB prompt, type "demos" and in the demo browser, navigate to
Blocksets -> Communications -> Application-Specific Examples
And take a look at 802.11a or 802.16 models which are OFDM-based.

HTH,
Idin

--
Idin Motedayen-Aval
The MathWorks, Inc.
zq=[4 2 5 -15 -1 -3 24 -57 45 -12 19 -12 15 -8 3 -7 8 -69 53 12 -2];
char(filter(1,[1,-1],[105 zq])), clear zq
 | 
Pages: 1
Prev: Format Data Type
Next: fprintf output truncation