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

📄 mdemapdlrx.m

📁 OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有帮助!
💻 M
字号:
%***************************************************************************
%  802.16-2004 OFDMA PHY - mDemapDLRx downlink function
%
%    Description: This functions recives two OFDMA symbols and reorganizes them 
%                   into a slot vector strcuture, based on subchanels
%                   Input assumed as: 
%   
%    Input: 
%                 MappedSymbols: 2 OFDMA symbols with data values mapped.
%                   Structured in 2 columns each contains data of OFDMA
%                   symbol.
%    Output:    
%                 Symbols_subchannels: Output data organized in matrix of 
%                   Nx48 elements. N depends on the FFT size (60,30,...)   
%                       
%    Functions:
%                N/A
%                 
%    Data Files:
%                N/A
%                   
%***************************************************************************

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Property of Freescale
%  Freescale Confidential Proprietary
%  Freescale Copyright (C) 2005 All rights reserved
%  ----------------------------------------------------------------------------
%  $RCSfile: mDemapDLRx.m.rca $
%  $Revision: 1.2 $
%  $Date: Wed Aug  2 07:24:26 2006 $
%  Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


function [Symbols_subchannels] = mDemapDLRx(MappedSymbols)

[m,n] = size(MappedSymbols);

if (n~=2) | mod(m,24) 
   error('Error: Input must be two column vectors. Length must be a multiple of 24.');
end

N = m/24;

%one colum per OFDMA symbol (1st symbol = odd columns, 2st symbol = even columns
temp = reshape(MappedSymbols,24,N*2); 

%one column per slot vector
Symbols_subchannels = reshape([temp(:,1:end/2); temp(:,end/2+1:end)],N*48,1);

⌨️ 快捷键说明

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