?? interleaver.m
字號:
function int_matrix=Interleaver(conv)
%This is the Block Interleaver.
%The Block Interleaver is a 24 rows by 16 columns array matrix
%It reads in a data bit stream row-by-row then output column-by-column
%Define array matrix
int_matrix1=zeros([24,16]);
nrows=24;
ncolumns=16;
%Fill in the empty matrix row by row,eventually
for nr=1:nrows
for nc=1:ncolumns
int_matrix1(nr,nc)=conv(nc+((nr-1)*ncolumns));
end
end
%output data bits column-by-column
int_matrix=int_matrix1(:)';
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -