cnv_encd.m

来自「这是一个wcdma下行功率控制仿真的源代码」· M 代码 · 共 10 行

M
10
字号
% cov_encd(input)
% determines hte output sequence of a binary convolutional encoder
function output = cnv_encd(input)
% generate trellis graphic r=1/3 k0=1 g=[557,663,711];
trel = poly2trellis(9,[557,663,711]);
% add 8 tail bits with binary value 0
input = [input,zeros(size(1:8))];
% convolutional encode
output = convenc(input,trel);

⌨️ 快捷键说明

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