- 博客(1)
- 收藏
- 关注
原创 用python完成信源(Huffman)信道(汉明)编解码
def transmission1(sourceByte): t = len(sourceByte) / 1 print('本信源数据率为8bit/s(1bytes/s),需要传输', t, '秒') return tdef transmission2(sourceBit): t = len(sourceBit) / 8 print('本信源数据率为8bit/s(1bytes/s),需要传输', t, '秒') return t#计算信源序列的信息量
2020-07-26 16:13:33 2138 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人