www.pudn.com > ldpc802.16.rar > arrange_mcwill.m, change:2005-10-26,size:397b


function [out]=arrange(data,pilot) 
 
data=reshape(data,48,size(data,1)*size(data,2)/48).'; 
pilot=reshape(pilot,size(data,1)*8,size(pilot,1)*size(pilot,2)/size(data,1)/8); 
tmp=zeros(size(data,1)*8,6); 
for i=1:size(data,1) 
    temp=data(i,:); 
    temp=reshape(temp,8,length(temp)/8); 
    tmp((i-1)*8+1:i*8,:)=temp; 
end 
 
tmp=[tmp(:,1),pilot(:,1),tmp(:,2:5),pilot(:,2),tmp(:,6)]; 
 
out=tmp;