📄 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 + -