⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mfpdlrxharness.m

📁 OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有帮助!
💻 M
字号:
%***************************************************************************
%  802.16-2004 OFDMA PHY - mFPDLRxHarness Downlink function
%
%    Description: Main function for the downlink Frequency Domain
%    processing in OFDMA (8.4) of IEEE802.16e standard
%
%       [PayLoadToUP] = mFPDLRxHarness(ZoneConfig, DlCarrierMap, PRBS, ...
%                       NFFTfromTP, SymbolIndex)
%
%    Input:
%           ZoneConfig: Data Structure that contains zone configuration
%                       params, including number of carriers, number of
%                       used carriers, maximum number of subchanels, etc.
%                       For details please see WiMAX Integration Framework
%                       Specification document
%           NFFTfromTP: Input 2 OFDMA symbols for data or a single
%                       Premable symbol. In each case the output is a full FFT sized.
%           SymbolIndex: Symbol index within frame of the first OFDMA symbol to
%                       be output.
%
%    Output:
%           PayLoadToUP: Information elements sent to the User
%                       Processing, organized as a slots vector, with Nx48
%                       datums. N depends on the FFT size. This info
%                       vector is mapped into 2 OFDMA symbols.
%
%    Functions:
%                N/A
%
%    Data Files:
%                N/A
%
%***************************************************************************

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Property of Freescale
%  Freescale Confidential Proprietary
%  Freescale Copyright (C) 2005 All rights reserved
%  ----------------------------------------------------------------------------
%  $RCSfile: mFPDLRxHarness.m.rca $
%  Tag $Name$
%  $Revision: 1.10 $
%  $Date: Fri Dec 15 05:00:16 2006 $
%  Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function [PayLoadToUP] = mFPDLRxHarness(ZoneConfig, DlCarrierMap, PRBS, ...
    NFFTfromTP, SymbolIndex)

%path is relative to the FP/*/SPManager/matlab folder
addpath('../../../DL/SPKernel/MapDL/matlab/');
addpath('../../../DL/SPKernel/CarrierScrambler/matlab/');
addpath('../../../UL/SPKernel/DataDemodulation/matlab/');


%demodulate data, pilots and DC ... and remove DC
ScrambledPayLoadPilots = mDataDemodulation(NFFTfromTP, PRBS, SymbolIndex);

%remove pilots
ScrambledPayLoad       = mPilotRemoveDLRx(ZoneConfig, ScrambledPayLoadPilots,SymbolIndex);

%descramble carriers
DescrambledPayLoad     = mCarrierDescramblerDLRx(ZoneConfig, ScrambledPayLoad, DlCarrierMap);

%downlink demapping of OFDMA symbols to slot vector
if (ZoneConfig.ZoneType==2)%PUSC
    PayLoadToUP            = mDemapDLRx(DescrambledPayLoad);
elseif (ZoneConfig.ZoneType==1)%FUSC
    PayLoadToUP            = DescrambledPayLoad;
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -