?? getparamforinterleaver.m
字號:
function [P0,P1,P2,P3]=GetParamForInterleaver(N)
%----[P0,P1,P2,P3]=GetParamForInterleaver(N)---
%根據(jù)DVB-RCS的規(guī)定,對不同幀長給與不同的交織參數(shù)
switch N
case 48,
P0=11;P1=24;P2=0;P3=24;
case 64,
P0=7;P1=34;P2=32;P3=2;
case 212, %ATM
P0=13;P1=106;P2=108;P3=2;
case 220,
P0=23;P1=112;P2=4;P3=116;
case 228,
P0=17;P1=116;P2=72;P3=188;
case 424,
P0=11;P1=6;P2=8;P3=2;
case 432,
P0=13;P1=0;P2=4;P3=8;
case 440,
P0=13;P1=10;P2=4;P3=2;
case 752, %MPEG-2 package
P0=19;P1=376;P2=224;P3=600;
case 848,
P0=19;P1=2;P2=16;P3=6;
case 856,
P0=19;P1=428;P2=224;P3=652;
case 864,
P0=19;P1=2;P2=16;P3=6;
otherwise
error('wrong frame size inputed');
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -