📄 mtx_grouping.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Property of Freescale
% Freescale Confidential Proprietary
% Freescale Copyright (C) 2005 All rights reserved
% ----------------------------------------------------------------------------
% $RCSfile: mTx_grouping.m.rca $
% $Revision: 1.1 $
% $Date: Mon Jan 22 10:36:36 2007 $
% Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Symbol grouping 8.4.9.2.3.4.3 IEEE Std 802.16-2004 P.602
% en_grouping = mTx_grouping(y) implements the symbol grouping
%
% Output:
% y => Grouped six subblocks data consist of the interleaved A
% and B subblock sequence, followed by a symbol-by-symbol multiplexed
% sequence of the interleaved Y1 and Y2 subblock sequences, followed
% by a symbol-by-symbol multiplexed sequence of the interleaved W1 and
% W2 subblock sequences.
% Input:
% x => Six interleaved subblocks data (A, B, Y1, Y2, W1, W2)
function en_grouping = mTx_grouping(y)
[row, L_total] = size(y);
for i = 1:L_total
en_grouping(1,i) = y(1,i);
en_grouping(1,L_total+i) = y(2,i);
end
% Symbol-by-symbol multiplexed sequence
for i = 1:L_total
grouping_Y(1,2*i-1) = y(3,i);
grouping_Y(1,2*i) = y(4,i);
grouping_W(1,2*i-1) = y(5,i);
grouping_W(1,2*i) = y(6,i);
end
en_grouping(1,2*L_total+1:4*L_total) = grouping_Y;
en_grouping(1,4*L_total+1:6*L_total) = grouping_W;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -