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

📄 msbcpermutation.m

📁 OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有帮助!
💻 M
字号:
%***************************************************************************
%  802.16-2005 OFDMA PHY - mSbcPermution Downlink function
%
%    Description: Performs subcarrier permution and pilot insertion 
%   
%           [ScrambledPayLoadPilots] =
%           mSbcPermutation(PayLoadFromUP,ZoneConfig,DlCarrierMap,AsyncPhyControl)
%
%    Input: 
%           PayLoadFromUP: Information elemnts recieved from 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.   
%           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
%            DlCarrierMap: Map for data carriers within OFDMA symbol, that 
%                       enables translation of logical carrier number to
%                       physical.
%           AsyncPhyControl:Asynchronous PHY control data structure
%                       contains info such as DlPremableBase IdCell, etc.
%           
%
%    Output: 
%           ScrambledPayLoadPilots: The output is structured similary to
%                       the ScrambledPayLoad input, with addition of the 
%                       pilots in the appropriate locations within the 
%                       clusters  
%                       
%    Functions:
%                N/A
%                 
%    Data Files:
%                N/A
%                   
%***************************************************************************

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%    Property of Freescale
%    Freescale Confidential Proprietary
%    Freescale Copyright (C) 2005 All rights reserved
%    ---------------------------------------------------------------------------
%    $RCSfile: mSbcPermutation.m.rca $
%    $Revision: 1.8 $
%    $Date: Mon Jan 15 06:49:14 2007 $
%    Target Processor: MATLAB
%    DESCRIPTION     : Subcarrier permutation algorithm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%-- Matlab files used by this file
% mCarrierScrambler
% mPilotInsert
%-- End of list

function [ScrambledPayLoadPilots] =  mSbcPermutation(PayLoadFromUP,ZoneConfig,DlCarrierMap,AsyncPhyControl,SymbolIndex,ant)

addpath('../../../DL/SPKernel/MapDL/matlab/');
addpath('../../../DL/SPKernel/CarrierScrambler/matlab/');

%scramble carriers
[m,n]=size(PayLoadFromUP);
PayLoadFromUP=reshape(PayLoadFromUP,m/(ZoneConfig.ZoneType),n*ZoneConfig.ZoneType);
ScrambledPayLoad        = mCarrierScrambler(ZoneConfig, PayLoadFromUP, DlCarrierMap);

%insert pilots
ScrambledPayLoadPilots  = mPilotInsert(ZoneConfig, AsyncPhyControl,ScrambledPayLoad,SymbolIndex,ant);

⌨️ 快捷键说明

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