CommPy icon indicating copy to clipboard operation
CommPy copied to clipboard

The output after decoding with turbo is all 0,

Open haixiongli opened this issue 2 years ago • 1 comments

你好,我在使用涡轮增压编解码器时遇到了问题。使用涡轮增压解码后的输出全部为0,我不知道设置的问题在哪里。

memory = np.array(2, ndmin=1)
g_matrix = np.array((0o5, 0o7), ndmin=2)
trellis = cc.Trellis(内存,g_matrix)
interlv = inter.RandInterlv(len(msg_encode),1)
msg = cct.turbo_encode(msg_encode, trellis1 = trellis, trellis2= trellis, interleaver = interlv )
res = cct.turbo_decode(msg[0], msg[1], msg[2], trellis = trellis, noise_variance = noise_var, number_iterations = num_iter, interleaver = interlv)

haixiongli avatar Apr 12 '22 08:04 haixiongli

Hi, I'm having trouble with the turbo codec. The output after decoding with turbo is all 0, I don't know where is the problem with the setup.

haixiongli avatar Apr 19 '22 09:04 haixiongli