📄 ms_interleaver_initialization.m
字号:
% ms_interleaver_initialization;
switch xrc
case 3
switch xframelength
case 6120
xrepetitioncount=1;
xpuncturevector=[1];
xinterleaversize=12288;
case 3048
xrepetitioncount=1;
xpuncturevector=[1];
xinterleaversize=12288;
case 1512
xrepetitioncount=1;
xpuncturevector=[1];
xinterleaversize=644;
case 744
xrepetitioncount=1;
xpuncturevector=[1];
xinterleaversize=3072;
case 360
xrepetitioncount=1;
xpuncturevector=[1];
xinterleaversize=1536;
case 172
xrepetitioncount=2;
xpuncturevector=[1];
xinterleaversize=1536;
case 80
xrepetitioncount=4;
xpuncturevector=[1];
xinterleaversize=1536;
case 40
xrepetitioncount=8;
xpuncturevector=[1 1 1 1 1 1 1 1 0];
xinterleaversize=1536;
case 16
xrepetitioncount=16;
xpuncturevector=[1 1 1 1 0];
xinterleaversize=1536;
case 24
xrepetitioncount=2;
xpuncturevector=[1];
xinterleaversize=384;
otherwise
error('交织器RC3配置帧长度错误');
end
case 4
switch xframelength
case 4584
xrepetitioncount=1;
xpuncturevector=[1 1 0 1 1 0 0 1 1 0 1 1 ];
xinterleaversize=12288;
case 2280
xrepetitioncount=1;
xpuncturevector=[1 1 0 1 1 0 0 1 1 0 1 1 ];
xinterleaversize=6144;
case 1128
xrepetitioncount=1;
xpuncturevector=[1 1 0 1 1 0 0 1 1 0 1 1 ];
xinterleaversize=3072;
case 552
xrepetitioncount=1;
xpuncturevector=[1 1 0 1 1 0 0 1 1 0 1 1 ];
xinterleaversize=1536;
case 267
xrepetitioncount=2;
xpuncturevector=[1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 ];
xinterleaversize=1536;
case 125
xrepetitioncount=4;
xpuncturevector=[1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 ];
xinterleaversize=1536;
case 55
xrepetitioncount=8;
xpuncturevector=[1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 ];
xinterleaversize=1536;
case 21
xrepetitioncount=16;
xpuncturevector=[1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 ];
xinterleaversize=1536;
case 24
xrepetitioncount=2;
xpuncturevector=[1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 ];
xinterleaversize=384;
otherwise
error('交织器RC4配置帧长度错误');
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -