Home > WaveComBox > Example > FBMC_OQAM > BasicSISO.m

BasicSISO

PURPOSE ^

Basic simulation of an FBMC-OQAM SISO system under multipath fading

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Basic simulation of an FBMC-OQAM SISO system under multipath fading

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Basic simulation of an FBMC-OQAM SISO system under multipath fading
0002 
0003 % This file is part of WaveComBox: www.wavecombox.com and is distributed under
0004 % the terms of the MIT license. See accompanying LICENSE file.
0005 % Original author: François Rottenberg, May 8, 2018.
0006 % Contributors:
0007 % Change log:
0008 
0009 
0010 % Definition of general Parameters of the FBMC-OQAM chain
0011 Para = InitializeChainParameters( 'FBMC-OQAM' ); 
0012 Para.Ns=6;
0013 
0014 % Transmitter
0015 d = GenerateData (Para); % Generate data symbols
0016 s = Modulator(d, Para ); % FBMC-OQAM modulation
0017 
0018 % Channel
0019 c = GenerateRayleighChannelReal('ITU_VehA', Para); % Generate one Rayleigh channel realization
0020 r = Channel_Multipath( s, c ); % Multipath channel
0021 r = Channel_AWGN( r, Para ); % AWGN channel, SNR fixed in Para
0022 
0023 % Receiver
0024 z = Demodulator( r, Para ); % FBMC-OQAM demodulation
0025 x = Equalizer( z, c, Para ); % Single-tap_equalizer
0026 d_hat=real(x);
0027 
0028 
0029 %% Plot performance
0030 MSE = MSEComputes( d, d_hat, Para );
0031 figure
0032 plot(10*log10(MSE),'-xb')
0033 xlabel('Subcarrier index')
0034 ylabel('MSE [dB]')
0035 
0036 xlim([Para.ActiveSubcarriers(1) Para.ActiveSubcarriers(end)])
0037 
0038 figure
0039 plot(real(s))
0040 xlabel('Time')
0041 % ylabel('')

Generated on Mon 24-Jun-2019 13:51:48 by m2html © 2005