⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testinvconvenc.m

📁 The code includes the implementation of inverse convolutional code and testing of it.
💻 M
字号:
function testInvConvEnc
%% The code includes the implementation of inverse convolutional code and
%% testing of it.
t = poly2trellis(7, [171 133]);  k = log2(t.numInputSymbols);
tblen = 30;
msg =  round(rand(1,tblen));
code = convenc(msg,t,0);    tblen = 1000;
[outState out] = invConvenc(code, [0 0]);
if sum(abs(out-msg)) == 0
    disp('Verified!');
end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -