cnv_encd.m

来自「Viterbi Algorithm & Viterbi Decoder Matl」· M 代码 · 共 10 行

M
10
字号
function output=cnv_encd(G,k,input)%  		cnv_encd(G,k,input)%  		determines the output sequence of a binary convolutional encoder%  		G : the generator matrix of the convolutional code%        	with n0 rows and l*k columns. Its rows are g1,g2,...,gn.%  		k :  the number of bits entering the encoder at each clock cycle.%  		input: The binary input seq.%  check to see if extra zero padding is necessaryif rem(length(input),k) > 0    % input

⌨️ 快捷键说明

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