中文说明:用随机函数生成数据并且通过213卷积编码生成相应数据,再显示出波形,随后通过维特比译码,通过接收到的序列与所有可能发送的序列作比较,求出所有可能的距离,取最小的汉明距离的序列作为发送序列发送出去并且显示出波形。整个代码分为主函数部分,编码部分,译码部分,求韩明距离四个部分组成,并且有相应注释,不难理解。
English Description:
With random data and 213 through the convolutional coding to generate the corresponding data, and then displaying the waveform, followed by Vitby decoding, through the received sequence and all may be sending sequence comparison, find all the possible distance, take sequence Hamming distance minimum as the transmitted sequence sent and displayed waveform. The code part of the main function, the coding part, decoding part, for Han Ming distance of four parts, and there is a corresponding notes, it is not difficult to understand.