📄 upultxchain.m
字号:
% Uplink Tx (MS) chain of user processing of IEEE 802.16-2004
% (WiMAX, OFDMA only)
%
% [SlotVecs] = UPULTXchain(In,SlotVecs,ZoneD,BurstD)
%
% This function chains up all the required Matlab functions and processes
% the payload data of one burst (In). After modulation mapping the data is
% mapped into the defined data region of the zone (SlotVecs).
%
% In : input vector, payload data for one burst
% (unsigned bytes, values 0 or 255)
% SlotVecs: input/output matrix that is the interface to FP (complex)
% one column per slot vector, 48*ZoneD.NumSubch rows
% ZoneD : zone descriptor
% BurstD : uplink burst descriptor
%
% Matlab 7 Release 14 SP2
% The communication toolbox is required.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Property of Freescale
% Freescale Confidential Proprietary
% Freescale Copyright (C) 2005 All rights reserved
% ----------------------------------------------------------------------------
% $RCSfile: UPULTXchain.m.rca $
% $Revision: 1.1 $
% $Date: Mon Dec 11 17:38:41 2006 $
% Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-- Matlab files used by this file
% mCodeBlkSegULTX
% mRandomizer
% mByteUnpack
% mConvEncoder
% mPuncturing
% mIL
% mSlotSeg
% mRepSlotMapULTX
%-- End of list
function [SlotVecs] = UPULTXchain(In,SlotVecs,ZoneD,BurstD)
%code block segmentation
[cblkseg_out,BlkSize,DataSize,NumSlots] = mCodeBlkSegULTX(In,ZoneD,BurstD);
%randomize
[rand_out,BlkSize] = mRandomizer(cblkseg_out,BlkSize);
%data unpacking
[rand_out_bits] = mByteUnpack(rand_out);
BlkSize=BlkSize*8;
%convolutional encoding
[convenc_out_bits,BlkSize] = mConvEncoder(rand_out_bits,BlkSize,BurstD.FECType);
%puncturing
[punct_out_bits,BlkSize] = mPuncturing(convenc_out_bits,BlkSize,BurstD.PunctMode);
%interleaving
[il_out_bits,BlkSize] = mIL(punct_out_bits,BlkSize,BurstD.ModMode);
%slot segmentation
[slotseg_out_bits,SlotSize] = mSlotSeg(il_out_bits,BlkSize,NumSlots);
%modulation mapping
modmap_out = ModMapper(slotseg_out_bits,size(slotseg_out_bits,1),BurstD.ModMode,ZoneD.Resolution,BurstD.Boosting);
%repetition + slot mapping
[SlotVecs] = mRepSlotMapULTX(modmap_out,SlotVecs,ZoneD,BurstD);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -